Closed
Description
Q | A |
---|---|
Bug report? | Yes |
Feature request? | No |
BC Break report? | No |
RFC? | No |
Symfony version | 3.2.7 |
Consider the following workflow:
Once events can happen asynchronously, I get a new running branch for every event triggered from an action place. To achieve such outcome, I've added some recursive transitions. I have also added some guard listeners so that I can ensure that a transition will never be applied from the same place more than once:
Now, let's suppose I have trailed the following path:
(start) -> [match] -> (email-action) -> [email-send] -> (sms-action)
At this stage, the marking points to [sms-action, email-action]
.
If I apply the transition sms-bounce
, the new place email-action
will get merged with the existing one, resulting in the marking [email-action]
. So now any transition applied from there will run as a single thread, and then the current state is mixed.