// ------------ Full conditional succession
action transportPassenger {
...
decide decideNode;
first decideNode; // specifies the succession source
if anotherDestination then mergeNode; // 'if anotherDestination' specifies a guard condition, followed by a succession 'then mergeNode'
else done; // specifies a succession to be taken if the guard condition evaluates to false
}
// ------------ Shorthand conditional succession
action transportPassenger {
...
decide decideNode; // omits the succession source as it is identified from the lexically previous action 'decide decideNode'
if anotherDestination then mergeNode; // 'if anotherDestination' specifies a guard condition, followed by a succession 'then mergeNode'
else done; // specifies a succession to be taken if the guard condition evaluates to false
}