Trigger type (property)
For automation interface information about the Trigger Type property (Event Type through the automation interface), see the automation interface topic for a Table in the Related Topics.
This property specifies the event (not Event dictionary item) that triggers an Event Action Block.
By default, the Trigger Type is set to <None>.
On a State Diagram, the syntax of an Event Action Block is determined by the Trigger Type.
This property is set on the Options tab of an Event Action Block's Property Pages.
The following Trigger Types are available.
Call Trigger
Trigger is an associated Operation. The Event Action Block syntax is as follows:
<operation name>[<guard condition>]/<action>
Change Trigger
Trigger is condition being true. The Event Action Block syntax is as follows:
when(<change expression>)[<guard condition>]/<action>
Create Trigger
Trigger is the object being created. This Trigger Type is available only for an Event Action Block on a Transition that starts on an Initial State.
The Event Action Block syntax is as follows:
<<Create>>[<guard condition>]/<action>
Destroy Trigger
Trigger is the object being destroyed. This Trigger Type is available only for an Event Action Block on a Transition that finishes on a Final State.
The Event Action Block syntax is as follows:
<<Destroy>>[<guard condition>]/<action>
Entry Trigger
Trigger is entry to a State. This Trigger Type is not available for Event Action Blocks on Transitions.
The Event Action Block syntax is as follows:
Entry/<action>
Exit Trigger
Trigger is exit from a State. This Trigger Type is not available for Event Action Blocks on Transitions.
The Event Action Block syntax is as follows:
Exit/<action>
Signal Trigger
Trigger is an associated Event. The Event Action Block syntax is as follows:
<event name>[<guard condition>]/<action>
Time Trigger
Trigger is an elapsed time after entering a State. The Event Action Block syntax is as follows:
after(<time expression>)[<guard condition>]/<action>
<None> Trigger
No trigger is required, but a guard condition can prevent the transition. Use this Trigger Type for a completion transition. This is the default trigger for a new Event Action Block.
[<guard condition>]/<action>
The following section provides information about the items and diagrams for which Trigger Type is a property. For more information about an item or diagram, click it.
Is property of