Extensions.StateMachineProcedure.Trigger
Jump to navigation
Jump to search
Classification
Name | Trigger |
Short Description | A trigger defines the wait action for a state. |
Class | Named And Specified |
Base Data Type | |
Default Value | Empty |
Provide a Literal | No |
SpecifiedBy | ISO 13209-4 |
Standard Compliant | Yes |
Description
A trigger defines the wait action for a state. A trigger mainly consists of one or more event sources. It has the same behaviour as the WaitForEvent action in OTX EventHandling extension. An arbitrary number of triggers can be defined for each state. A trigger can be referred to by one or more transitions.
After execution of the entry flow the state blocks the thread of execution until it receives an event from one of its trigger event sources. As soon as an event becomes available in one of the sources event queues, the condition in the referenced transitions will be checked in order of occurrence in XML.
Sample
trigger : Trigger1
{
EventHandling.TimerExpiredEventSource(1000)
}