Magic Model Analyst provides State Activation Semantics as one of the simulation options. This option allows you to determine whether Magic Model Analyst activates an Entry Behavior before or after activating an entry of State. You can select one of the options: After entry and Before entry. The After entry option allows activating the entry of State after the Entry Behavior is completely activated. The Before entry option allows entering the entry of State before executing the Entry Behavior.
To set the State Activation Semantics option
Open the Project options dialog.
In the SCXML Engine group, select State Activation Semantics.
From the drop-down list, select After entry or Before entry.
Click OK.