Statuses are used to denote the outcome of a
workflow step as values associated with a logical transition from one
task to another. These values appear as labels on the flow connections and they represent
the condition, which must be met in order to realize the transition.
By default, when no status is added, the task completes and the subsequent task is
automatically started. This default value is
represented as the (FINISHED) state in the status assignment menu, but does not explicitly
appear on the transition as a label. Predefined values are Cancel
, Done
, Okay
, Overdue
,
and Scheduled
. You can also define
custom status values.
If a status is specified on the connection, when that status changes to the associated
value, then the workflow advances to the next task. The status change causes the current
task to complete.
For example, the workflow contains two tasks, A and B, with a connection from Task
A to Task B. Task B is initiated
after Task A has been approved. We can represent this task flow by assigning an Approve
status to the connection between Task A and Task B.
The following figure shows this flow.