How to trigger Dropzone Workflow through Component Action Workflow?

I want to trigger a parent workflow exposed via a dropzone from within a component in that dropzone. Problem is: dropzone workflows can not be called by component action workflows.

Currently, I am using an event to trigger a workflow on the component instance, but this defeats the purpose of encapsulation. I would need to pay attention to set that workflow up for every instance.

This would not be an issue if either the dropzone workflows could be triggered by a component action workflow or if the component workflow could be triggered by custom events, like it works for the instances.

Is there a solution to this problem?

Video with example

Glossary:
instance workflow → workflow on the component instance
component workflow → workflow inside the component, last tab
component action workflow → workflow in the action section of the component, first tab

Hi there :waving_hand:

Thank you for the video, it helps a lot to try and breakdown your project.

I think that indeed, the challenge is that you are using multiple nested components, or encapsulation as you mentioned.

I don’t have an easy answer for this situation, but I’ll ask someone from the team if they can take a look.

Hey, each custom component is an isolated instance with its own actions and events, so a child custom component placed inside the parent’s dropzone cannot directly call the parent’s internal component action workflow

@rivan_sigarlaki That can’t be true. I am able to access dropzone workflows of the custom parent component within a custom child/dropzone component, but only in the component workflow panel, not in the component action workflow panel.


Description: Workflow Action triggering Dropzone Workflow



Description: Component Workflow Panel

I’d like to trigger it from within the component action workflow panel, since there I got the onPropertyChange and onExecute Event Triggers.

If you say, custom components are isolated, how is it, I can access dropzone workflows within the component workflow panel?