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).

How To:

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



See Also


Open the element Properties dialog, select the Scenarios tab, and select the Structured Specification tab



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

Select <Item> Dialog


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).

Output Window


  • 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

Learn More: