And
Description
The AND activity synchronizes multiple incoming execution paths and proceeds only after the required incoming paths have completed. It is typically used to join parallel or conditional branches before continuing workflow execution.
All Active Incoming
The All Active Incoming option controls how the AND activity determines which incoming paths must complete before it proceeds.
| Checkbox State | Execution Behavior |
|---|---|
| Checked | The AND activity waits for all runtime-active incoming paths to complete. Incoming paths skipped due to conditional logic are ignored, ensuring predictable execution and preventing indefinite waiting. |
| Unchecked | The AND activity waits for all design-time configured incoming paths to complete. If one or more paths are skipped at runtime, the activity may remain in an infinite wait. |
Key Notes
- The AND activity waits for the incoming paths required by its selected mode. With All Active Incoming enabled, a single active path is sufficient when other configured paths were skipped.
- When conditional branching is involved, enabling All Active Incoming is strongly recommended to avoid deadlocks.
Enable All Active Incoming when the AND activity follows conditional paths (for example, after If, Switch, or rule-based branching) to ensure the workflow continues correctly even when some paths are not taken.
Example: Join conditional paths
Connect two review branches to And and enable All Active Incoming. If both branches run, And waits for both. If a condition skips one branch, And waits only for the branch that ran. Use All Configured Incoming only when every configured branch is expected to complete.