States With Multiple State Regions
A State is activated when there is a transition to the State, or a transition to a State within the State. See the following example:
- State1 is activated because of The_Transition going to State3.
When a State is activated, all regions within the State which can be activated, will be. A region can be activated if there is an Initial element, or if there is a transition from outside the State into one of the region's States. All activating regions run in no particular order.
- Region1 is activated because of The_Transition going to State3.
- Region2 is activated because there is an Initial element.