-
Hi, I wonder if there is a way to represent sort of parallele and join stuff, including both operations and events. The use case, would be to orchestrate actions currently runnable by a worker while some other branch should way the incoming of events representing the completion of tasks outside of the workflow engine (like the end of human tasks notified). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I guess you could use a parallel operation state with mixed functions and events actions ? Your question might also be related to #677 . |
Beta Was this translation helpful? Give feedback.
-
If I understand correctly this could be possible right now. You can have branches that run actions and some branches that deal with events. The event handling can be offloaded to a subflow that has event state to deal with the events. Then use the parallel state completionType / numCompleted property for the join part if needed. |
Beta Was this translation helpful? Give feedback.
If I understand correctly this could be possible right now. You can have branches that run actions and some branches that deal with events. The event handling can be offloaded to a subflow that has event state to deal with the events. Then use the parallel state completionType / numCompleted property for the join part if needed.