Adding State Models

You can add complex states that allow you to nest nodes and transitions within them. You can also add Call State Model nodes, which allow you to call other state models.

For a guide to the settings see State Model Resource Reference.

Procedure

  1. Do one of the following:
    • Right click the folder where you want to store the state model and select New > State Model. You see the New State Model Wizard. In the Owner Concept field, specify the concept for this state model.
    • Right-click the concept that is to be the owner of this state model. You see the New State Model Wizard. The Owner Concept field contains the path to the concept you right-clicked.

      You can change the owner of a state model after it is created.

  2. In the File Name field, type a name for the state model. In the Description field, type a description (optional).
    Note: You cannot change a new resource name in the editor after you click Finish. However, you can change the description. You can use a refactor operation to change the name later. (Right-click on the name in the explorer panel, and select Refactor > Rename.)
  3. Click Finish. You see the state model editor, a diagram showing a start and an end state.
  4. In the Owner Concept field, you can optionally change the owner concept for this state model. Click Browse to select a concept.
  5. Check the Main check box if this is a main state model. Clear the Main check box if this is not a main state model.

Result

What you do next depends on the nature of the state model you want to define, how you prefer to work, and other actions you may want to do relating to the state model. See Outlining a State Model for suggestions.

The Studio Explorer view shows the state model in the folder where you add it. Note that, as a helpful reminder, the state model also appears as a child of the concept that owns it, but shortcut menu options do not appear here.