Prev Next

Scenarios

A scenario is a real-world sequence of operations that describes how the process represented by an element works in real-time. Scenarios can be created for any element - although principally for Use Cases - to describe functional behavior, business workflows and end-to-end business processes.

You define scenarios in the Scenarios view, accessed though either the Responsibilities window or the 'Properties' dialog for the element. Using this view, you can create scenarios or select those you have created elsewhere and, for each scenario:

  • Create a series of steps for each part of the scenario
  • Structure the scenario to show how the basic path diverges into alternate paths and exception paths
  • Generate a number of types of diagram from the structure
  • Generate the structured scenario from an Activity diagram
  • Generate the structured scenario from text on the clipboard

You can also use the 'Scenarios' tab of the Responsibilities window to sketch out or select from a series of scenarios for an element. You then select to edit a scenario in this list, to add or review the detailed structure of the scenario in the Scenarios view.

Access

On a diagram or in the Browser window, select an element and:

Ribbon

Design > Element > Editors > Scenarios  (existing scenario) : Edit

Design > Element > Editors > Properties Dialog > Scenarios > Structure Editor

Context Menu

Right-click on element | Properties | Responsibilities > Scenarios (existing scenario) : Edit

(In the Element tab of the Browser window) Right-click on scenario | Show Scenario Editor

Keyboard Shortcuts

Ctrl+4 > Scenarios (tab of the Responsibilities window)

Shift+Enter > Scenarios ('Properties' dialog)

Shift+Alt+S ('Properties' dialog)

Alt+9 > Scenarios : Shift+Enter

Locating Scenarios

To help you locate the elements for which scenarios have been defined, you can run the predefined 'Find Scenarios' model search.

Select the 'Design > Element > Editors > Find Scenarios' ribbon option to automatically execute the search on the model, which displays a list of the elements that contain scenarios.

Double-click on an element to display the 'Properties' dialog for that element, and select the 'Responsibilities > Scenarios' page of the dialog.

Notes

  • The Scenarios view does not prevent you from creating more than one basic path, but it would be unusual to define more than one

Learn more