Prev | Next |
Interruptible Activity Region
Description
In an Activity diagram, an Interruptible Region surrounds a group of Activity elements, all affected by certain interrupts in such a way that all tokens passing within the region are terminated should the interruption(s) be raised. Any processing occurring within the bounds of an Interruptible Activity Region is terminated when a flow is instigated across an interrupt flow to an external element.
You create an Interruptible Activity Region as one variant of a Region (the other is an Expansion Region), using the Activity pages of the Diagram Toolbox.
This example illustrates that an order cancellation kills any processing of the order at the receipt, filling or shipping stage.
See the OMG Unified Modeling Language specification, (v2.5.1, figure 12.100, p.381.)
Toolbox icon
Learn more
OMG UML Specification:
The OMG Unified Modeling Language specification, (v2.5.1, p.407) states:
An InterruptibleActivityRegion is an ActivityGroup that supports termination of a portion of an Activity. An InterruptibleActivityRegion contains only ActivityNodes. It also identifies as interruptingEdges certain ActivityEdges that have their source within the region and their target outside the region. When a token offered along an interruptingEdge is accepted and traverses that edge, then the execution of all containedNodes of the region is terminated and all tokens are removed from them.