Prev Next

Generate Activity Diagram

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

  • Each scenario step is modeled as an Activity
  • The values of the 'Uses', 'Results' and 'State' columns for each step are added as memo Tagged Values of the corresponding Activity

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 'Activity'.

Ribbon

Start > Desktop > Design > Scenario Editor

Context Menu

Browser window > Element | Scenarios | New Scenario > Scenario View

Browser window > Element > Scenarios | right-click on existing scenario | Structured Scenario Editor

Keyboard Shortcuts

Alt+1 > Scenario Editor

Other

On the 'Scenarios' tab of the Responsibilities window, click on the Edit button against a scenario (see the Scenarios Tab - Responsibilities 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

       

Diagram Types

There are three additional variations of the Activity diagram that you can generate.

Diagram

Detail

See also

Activity with ActivityParameter

  • The values of the 'Uses' and 'Results' columns are modeled as ActivityParameters
  • The ActivityParameters are added to the Browser window and not to the diagram
  • The value of the 'State' column is added as a Tagged Value of each Activity

Activity with Action

  • The scenario steps are modeled as Actions
  • The values of the 'Uses', 'Results' and 'State' columns are added as Tagged Values of each Action

Activity with ActionPin

  • The scenario steps are modeled as Actions
  • The values of the 'Uses' and 'Results' columns are modeled as Input Pins and Output Pins respectively
  • ActionPins are added to the Browser window and not to the diagram
  • The value of the 'State' column is added as a Tagged Value of each Action

Learn more