conductor icon indicating copy to clipboard operation
conductor copied to clipboard

Event handler and events

Open amoolya19 opened this issue 9 years ago • 1 comments

Hi @v1r3n ,

i have a query on events. consider i have 2 workflows main and sub. if i trigger a event from "main" to start a wf which is "sub". is there a way to bring back the infomation of subworkflow like task outputs to the main workflow? and is there is any way tell main work wf that sub wf is completed.

amoolya19 avatar May 15 '17 12:05 amoolya19

@amoolya19 yes, subworkflow tasks are treated as normal tasks and you can use the task output from subworkflow in other task. However, this is only possible when you use the SUB_WORKFLOW task.

If you use events to trigger a "sub workflow", it is not possible to bring the output to the main workflow - as it is meant to be loosely coupled.

v1r3n avatar Jul 31 '17 03:07 v1r3n