Deferred Choice

Workflow TopologiesControl-Flow TopologyPattern

A point where one of several branches is chosen, but the choice is made by the environment rather than by the process, and the unchosen branches are withdrawn.

In full

The process reaches a state where B and C are both possible and waits. Whichever the environment starts first wins; the other is withdrawn. "Wait for either the payment or the timeout." Contrast Exclusive Choice, where the process decides from data the instant it reaches the split. This pattern needs a notion of state, which is why pure task-graph languages struggle with it.

Open it in the explorerWorkflow Topologies, at this entry

Back to Workflow Topologies