Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Trigger Parameters
Trigger parameters are arguments passed into the simulation along with a trigger when it is fired. They allow for complex behavior to be specified decision to be made based on variables and data passed into a simulation at run-time by a fired trigger (event) .
Topic |
Detail |
||||||
---|---|---|---|---|---|---|---|
Introduction |
To use trigger parameters you
|
||||||
Signals |
A Signal element is a template or specification from which actual triggers can be built. The example below has two arguments, a Name and a Password. These will be filled in at execution time either manually or as part of a pre-defined trigger set.
|
||||||
|
The Trigger parameters 'prompt' that asks for suitable values for each parameter. Note that you need to enclose strings in double quotes, otherwise the interpreter will think you are referring to other variables.
|
||||||
|
Below is an example diagram that makes use of trigger parameters. At the Evaluate Login state, the simulation examines the variables passed in as trigger parameters and makes a decision to either accept the credentials or deny them.
|