Specifying Entry and Exit Actions

From RAD Studio
Jump to: navigation, search

Go Up to Activity Diagram Procedures

You can create entry and exit actions as nodes, or as stereotyped internal transitions.

To specify entry and exit actions using the in-place editor:

  1. Create an internal transition in the desired state.
  2. Double-click the internal transition to enable in-place editing.
  3. Rename the internal transition using the following syntax:
    stereotype/actionName(argument)

For example: exit/setState(idle)

To specify entry and exit actions using internal transitions:

  1. Create the internal transition.
  2. Set the event name, event arguments, and action expression properties using the Object Inspector for the internal transition.

See Also