Define an Object State

Return to Introduction  Previous page  Next page

To set the Object state for a Class instance, follow the steps below:

1.Right-click on the required Object and select the Advanced | Set Object State menu option. The Set Instance State dialog displays.
2. In the State field, type the required state (eg. Awaiting Approval). 

Note: If the associated classifier has a child State Machine element, those states propagate into the drop-down list for this field, and you can select one of them instead.

3.Click on the OK button to apply the state. The object now shows the run-time state in square brackets below the object name.