Replies: 5 comments 5 replies
-
Here are the reasons on why this ability was previously removed from the spec. This is not to say that we don't want to add this feature again, but just to document the issues:
Let's start from here and try to figure out how to incorporate this into spec. |
Beta Was this translation helpful? Give feedback.
-
@yzhao244 @cdavernas @ricardozanini @antmendoza Here is a proposal:
|
Beta Was this translation helpful? Give feedback.
-
@cdavernas yeah its just a first attempt. the proposal does not solve issues that are mentioned in this comment: #466 (comment) I think we all agree that this makes life somewhat easier for end user but it does add a number of implications to runtimes as well as the spec having to add a lot of rules around it that are hard to impl and understand. Maybe we can find some middle ground at some point, so let's keep discussing. |
Beta Was this translation helpful? Give feedback.
-
@cdavernas @yzhao244 |
Beta Was this translation helpful? Give feedback.
-
@yzhao244 @cdavernas bpmn deals with this via subprocesses, which yes, each branch can have an embedded subprocess with many "tasks" / states inside, so its possible to do there. The idea of state groups is very similar where a state group cannot transition to another state group, allowing us to do whats asked for here in a similar way of bpmn for example. |
Beta Was this translation helpful? Give feedback.
-
In our spec, currently, it does not support end-user to explicitly define states in branch which was supported in 0.1
I think nowadays workflow products provide more and more user-friendly UI to quickly/efficiently build workflows. Our spec currently requires that end-user has to create subFlow first and then gets a workflowId. Finally, end-user has to put that workflowId in the branches. My personal feeling is a bit complex process which makes UI render graphical model a bit more complicated comparing to directly allowing user to define explicit control flow.
Therefore, I would like to propose supporting both actions and explicitly defining states in branch.
Beta Was this translation helpful? Give feedback.
All reactions