Prev Next

Interruptible Activity Region

A UML Region element.

Description

In an Activity diagram, an Interruptible Activity 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). When you drag a 'Region' icon from the Toolbox (on the UML Activity page, for example) a prompt displays for you to select the radio button for the variant you require.

This example illustrates that an order cancellation kills any processing of the order at the receipt, filling or shipping stage.

UML Activity Diagram example showing use of Interruptable Region in Sparx Systems Enerprise Architect.

See UML Superstructure Specification, v2.1.1, figure 12.100, p.381.

Toolbox icon

Region element

Learn more

OMG UML Specification:

The OMG UML specification (UML Superstructure Specification, v2.1.1, p.380) states:

An interruptible region contains activity nodes. When a token leaves an interruptible region via edges designated by the region as interrupting edges, all tokens and behaviors in the region are terminated.