A condition state is an evaluation that the flow processor makes before performing an action. The events returned by the condition state determine what the next state in the flow execution process is. A condition state evaluates its conditions sequentially until a given condition is true. Then it fires the associated event to trigger the following state. Following Figure provides an example of condition state:
The condition state has associated a default event that is fired when no condition evaluates to true.