Description
What is the question:
Hi, I have this issue opened and would like to discuss the spec regarding parallel branch does not support direct use of states definitions when comparing spec 0.1.
If my understanding is correct, currently, the parallel state branch supports actions definition which can use subFlowRef to support a more complex flow such as switch and so on.
However, using subFlowRef in practice requires that end-user has to successfully define a subflow first for getting a workflowId. After obtaining the workflow ID, end-user can start to use the ID to define the parallel state. I think it brings more complexity if end-user only builds a simple parallel workflow which branch only contains a switch, or a operation state and end-user may not need a subFlowRef ID for reusable purpose.
I am sorry to bring back the example of AWS Step function as my reference lol, which allows directly defining states in branch. I feel our specs and theirs have things in common lol..
What would you like to be added:
Is it okay to add back the states array to branch of parallel state definition.
Why is this needed:
- It ensures backward compatibility.
- It is straightforward to build workflow which allows end-user to directly define whatever the states in branch
Metadata
Metadata
Assignees
Labels
Type
Projects
Status