Creating state transitions
You create state transitions when defining the state model of a schema. To create a state transition, you define an action of the type CHANGE_STATE and then select the source states and a destination state for that action.
Procedure
To
create a state transition:
- Start the Designer.
-
In the Schema Repository Explorer view, expand the Record Types or
Record Types - Stateless folder in your schema and then double-click on a
record type.
The record type editor opens.
- Click the Actions tab to view the Record Actions grid.
- Create a new action, selecting CHANGE_STATE as
its type.
To use an existing action, right-click an existing action of the type CHANGE_STATE and select Action Properties.
- In the States section
of the action properties page, select one or more source states and
a destination state for the action.Each CHANGE_STATE action must have at least one source state and a destination state. If none are defined, the Designer reports an error during validation.
- After creating the state transition, display the State Transition Matrix to verify that the transitions were applied to the states. For more information, see To display the State Transition Matrix for a Defect record type.