Prev Next

Generate StateMachine Diagram

When you create a scenario on an element and then generate a StateMachine diagram, a StateMachine is created as a child of the selected element to act as a container for the diagram.

  • Each value in the 'State' column is modeled as a State
  • The scenario steps become the Transition connectors between the States
  • The values of the 'Uses' and 'Results' columns are added as Tagged Values of the Transition connectors

Access

On a diagram or in the Browser window, click on the element and select one of these access methods to display the Scenarios view, then click on Scenario Generation Dialog and select 'State'.

Ribbon

Start > Application > Design > Structured Scenarios

Context Menu

Inspector window > Details | Right-click on 'Scenarios' | New Scenario

Inspector window > Details | Scenarios | right-click on existing scenario | Structured Scenario Editor

Keyboard Shortcuts

Alt+2 > Responsibilities > Structured Scenarios

Other

On the 'Scenarios' tab of the Responsibility window, click on the Edit button against a scenario (see the Scenarios Tab - Responsibility Window Help topic)

On the 'Scenarios' tab of the element 'Properties' dialog, click on the Structure Editor button (see the Scenarios Tab - Properties Dialog Help topic)

Example

Learn more