Creating interaction occurrences

In sequence diagrams, you can create an interaction occurrence, which appears in a frame with a ref heading, by creating a new interaction, specifying a new unspecified occurrence, or selecting an existing interaction. To open the referenced interaction, double-click the interaction occurrence. If you delete an interaction occurrence, the referenced interaction remains in the model.

To create an interaction occurrence:
  1. Open a sequence diagram that contains multiple lifelines.
  2. In the Palette, click Interaction Occurrence.
  3. Click inside the interaction frame and, in the window that opens, complete one of the following steps:
    • To create an interaction occurrence with an unspecified interaction, click Unspecified.
    • To create an interaction occurrence with a new interaction, click Create New Interaction.
    • To create an interaction occurrence with an existing interaction, click Select Existing Element; then, in the Select Element window, click an existing interaction and click OK.
  4. In the Add Covered Lifelines window, click the lifelines to cover and click OK.
  5. Type a name for the interaction occurrence and press Enter.
Tip: To add an interaction occurrence to a single lifeline, in the Palette, click Interaction Occurrence and, in the interaction frame, click a lifeline; then in the window that opens, click Unspecified, Create New Interaction, or Select Existing Element.

Parent topic: Referencing interactions from within other interactions

Related concepts
Interaction occurrences

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