MagicDraw 18.3 Documentation

Skip to end of metadata
Go to start of metadata

To create an alternative flow

  1. Open the Use Case Specification window and click the Use Case Scenario property group.
  2. Select the basic flow step for which you want to create an alternative flow.
  3. In the Alternative Flow tab, click the Add new button . The shortcut menu opens.
    Adding a new alternative flow
  4. Do one of the following:

    • Select the Add New Alternative Condition command or press ALT+R to add a new alternative condition. A new alternative condition is created together with the alternative flow step. Type the name of the alternative condition. The alternative condition for the basic flow is created.

    • Select the Add New Alternative Flow Step command press ALT+ENTER to add a new alternative flow step. If in the alternative flow there was an alternative condition created already, a new alternative flow step is created for the selected alternative condition. If in the alternative flow there was no an alternative condition, a new alternative flow step is created together with a new alternative condition. Now you can type the name of the new alternative flow step.

Conditions and steps of the alternative flow are numbered automatically. Use buttons  Up  and Down to change the order of conditions in the alternative flow or the order of steps in the particular condition. In the Activity diagram, steps are represented according to the ordering in the Use Case scenario.