Execution occurrences

In Unified Modeling Language (UML) sequence diagrams, execution occurrences show the period of time when an instance that is represented by a lifeline is active. Each execution occurrence represents an execution in a behavior.

As the following figure illustrates, an execution occurrence is displayed as a thin vertical rectangle that overlaps the dashed line of a lifeline.

An interaction frame shows two lifelines with a synchronous send message, an execution occurrence, and a return message.

Because the execution occurrence has a duration, it is represented by two event occurrences, the start event occurrence and the finish event occurrence. The top and bottom of the execution occurrence represent the start and finish of the behavior in the interaction.

Execution occurrences are created automatically when you create a synchronous or an asynchronous message. However, you can manually create an execution occurrence that is not attached to a message. For example, you can add an execution occurrence to an existing execution occurrence to create nested execution occurrences in a call sequence.

As the following figure illustrates, a nested execution occurrence is displayed as a rectangle that is offset from and that covers part of an existing execution occurrence on a lifeline.

This interaction frame shows two lifelines with a synchronous send message, an execution occurrence containing a nested execution occurrence, and the return message.

Parent topic: Sequence diagrams and diagram elements

Related concepts
Sequence diagrams
Interaction frames
Lifelines
Messages
Interaction occurrences
Combined fragments
Interaction operators
Interaction operands
Guard conditions
Stop nodes

Related tasks
Adding execution occurrence to interactions
Creating execution occurrences
Resizing and reordering execution occurrences

Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.