Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Initialize Variables and Conditions
For a BPMN simulation model, you can initialize your variables in an Execution Analyzer script. You can also initialize these variables in the Tagged Values of the first Activity element of the process, which gives you greater flexibility in adding and changing variables as the simulation proceeds. Similarly, you can define the conditions and values to apply at the various decision points (Gateways) in the process, in the Tagged Values of the Sequence Flow connectors.
If you want to incorporate a user-interface into your simulation process, using Win32, you again use Tagged Values to identify the dialog or prompt to display, in the Activity element just prior to the point at which the value or decision is processed.
For the simulation of UML diagrams, variables inside the 'sim' object and 'this' object are displayed in the Local Variables window.
Display the Tagged Values window, using one of the methods outlined here.
Start > Windows > Tagged Values
Show > Window > Tagged Values
Incorporate Win32 User Interface
(This statement displays the dialog Screen1. You can temporarily hide the dialog by changing 'Show' to False.)