Consider the following statechart:
The Customer gets state Confirmed, the resource is in state NotAssigned. There is no guard defined for the transition from Confirmed to the Join pseudostate.
In this scenario, does the state Confirmed remain active until NotAssigned transitions to Assigned? (i.e. I can send the trigger 'cancels' so that customer enters the 'NotConfirmed' state, which is the behavior I would like to obtain). Or am I not using the correct way to model this? (and how would a statechart look then)
Edit (after comment Gangnus) What I'm after is understanding
- how the join pseudostate functions
- when does a state connected to a join loose its active status
So what I want to obtain is deeper understanding of the join state. I looked through the UML spec (formal-1108-06.pdf chapter 15), but did not find a clear description for my scenario mentioned above: if I enter Confirmed, and Confirmed is connected to a Join using a transition with no guard or trigger specified, while NotAssigned is active in the Resource region, when does Confirmed its active status:
- immediately after the state has been entered
- when NotAssigned transitions to Assigned (then both states go inactive and transition to ExecutionAllowed.