branch

A situation in a state machine in which a single trigger leads to more than one possible outcome, each with its own guard condition. Branches may be static and dynamic.

A situation in an activity in which an input flow may lead to one of several possible output flows, each with its own guard condition.

See also choice, decision node, fork, join, junction, merge.

Semantics

State machine. If the same event can have different effects that depend on different guard conditions, then they can be modeled as separate transitions with the same event trigger. In practice, however, it is convenient to permit a single trigger to drive multiple transitions. This is especially true in the common case in which the guard conditions cover every possibility, ...

Get Unified Modeling Language Reference Manual, The, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.