Repository navigation
|
For a state like the following, if the OrderCreatedEvent triggered 3 times concurrently, will 3 state b instances be running concurrently ? |
Replies: 3 comments 5 replies
|
It's depend on the runtime implement, and basically speaking, the runtime will start 3 workflow instance. To make this idempotent, you can use |
imho this is only true if this event state is the starting workflow state as the spec has it currently (and there is no event correlation defined) |
im trying to understand this question, with SW you can only have one state active/running at any time, so the initial use case of multiple states running in parallel is not possible unless you use parallel state where each branch is a subflow for example |

im trying to understand this question, with SW you can only have one state active/running at any time, so the initial use case of multiple states running in parallel is not possible unless you use parallel state where each branch is a subflow for example