A decision specifies which path to take, when several paths are possible. A decision can have one or more input flows and one or more output flows, each labeled with a distinct guard condition, which must be satisfied for its associated flow to execute some action. Your guard conditions should avoid ambiguity by not overlapping, yet should also cover all possibilities in order to avoid process freeze.
Decisions can be created in models targeting any language except DFD.
A decision can represent:
A merge: several input flows and one output flow. In the following example, the Subscription and Charge account flows merge to become the Ship order flow:
A decision allows you to create complex flows, such as: