A transition definition consists of the following required attributes:
name: specifies the name
of the transition. There are no restrictions on the characters used
in a transition name.
source: specifies the name
of the node from which the transition starts
destination: specifies the
name of the node at which the transition ends
A transition definition also consists of the following option attribute:
triggerExpression: specifies
the condition under which the transition is triggered (or traversed)
in a process. If the triggerExpression is
not specified then the transition is always traversed. This is used
to control the paths taken by a process. Figure 6: transition Example shows an example of a transition.
Figure 6: transition Example
<transition name="On Accept"
triggerExpression="isMeshAcceptable == true"
source="Check Mesh"
destination="Approve Mesh"/>
In the sample listing, the transition goes from a source node
named “Check Mesh” to a destination node named Approve Mesh. The transition is triggered only when the
value of the isMeshAcceptable variable is true.