Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Generate Scenario From Activity Diagram

You can generate a range of diagrams from a scenario in an element.

Conversely, you can also generate a structured scenario within an element from an Activity diagram, reverse engineering the steps from the diagram elements (effectively either regenerating the scenario within the Use Case, or transferring a scenario into  another Use Case).


  • The source Activity diagram must be generated from another Use Case Scenario.
  • Any existing scenario steps are deleted and replaced by the generated scenario.
  • This facility does not operate on the enhanced Activity diagrams generated from a Use Case - those generated with ActivityParameters, Actions and Action Pins.

To generate the scenario from the Activity diagram, follow the steps below:

  1. Open the element Properties dialog, select the Scenarios tab, and select the Structured Specification tab.
  2. Right-click in the empty space within the tab, and select the Create Structure From Generated Activity Diagram context menu option. The Select an Activity (generated from a UseCase Scenario) containing the Diagram dialog displays.
  3. Search for and select the Activity containing the required diagram. Enterprise Architect validates the diagram (displaying the results in the Output window) and, if the diagram is valid, generates the scenario steps in the Structured Specification tab (replacing any existing scenario steps).