About Decisions

Decisions enable conditional routing in application workflows or sub-workflows. The decision is included in the Workflow Palette, and is added to a workflow by a drag-and-drop operation, the same way states and transitions are added to a workflow.

A decision has one or more incoming transitions and two or more outgoing transitions. An incoming transition connects a source state to the decision, and the outgoing transitions connect the decision to target states. When you add a decision to a workflow, two outgoing transitions are automatically added: Otherwise and Branch.

The decision evaluates rules that are associated with each outgoing transition, and the transition associated with the first rule that evaluates as "true" is executed. If a role or item type is restricted from using an outgoing transition, the workflow evaluates the rule associated with the first non-restricted outgoing transition. If no outgoing transition is allowed for a role or item type, then the transition associated with the "Otherwise" rule is executed. For information about rules, see Rule Overview.

If a decision fails to complete when the application runs, the item that entered the step will remain in the source state. This prevents changes that were saved to the item by completed actions or by the user in a transition form from being lost. (Decision failures are caused by a user abandoning or cancelling a transition form or by an error.)

When the incoming transition to a decision is the default Submit transition, the transition privileges that apply to that transition also apply to all outgoing transitions from the decision. This allows the workflow to proceed to the target state even when the submitter has limited transition privileges.

Restriction:
  • You cannot use the Post or Subtask transition type for incoming transitions to a decision.
  • You cannot use a Copy or Update transition type on a decision.
  • Using a "Transition", "Orchestration Workflow (continue executing)," or "Trigger" action type on an incoming transition to a decision is not currently supported.
  • You cannot restrict the Otherwise transition from a decision by role or type.
  • There are some field comparison limitations in expressions used to create decision rules. For details, see Rule Operators.
  • You cannot use the "restrict by rule" feature on an outgoing transition from a decision.

Related Topics

Conditional Routing Overview

Rule Overview

Adding a Decision

Modifying Decision Properties

Renaming a Decision

Deleting a Decision

Restrictions by Rule for a Transition