Step 3: Defining the Workflow State and the Transition (Self-Guided Exercise)
In this step, you will define the Assigned
workflow state and the
transition from the ReadyForAssignment
workflow state to the
Assigned
workflow state on your own. You have learned how to
define a workflow state in Workflow States: To Define a Workflow State.
While defining a workflow state, you need to use the States.assigned
class, which you added in Workflow States: To Define a Workflow State. In the
Assigned
workflow state, you should make the
Customer ID, Service ID, and
Device ID boxes unavailable for the state. Also, you need
to add the Assign
action to the ReadyForAssignment
workflow state, display it on the form toolbar, and specify the Success
connotation for it.
For details on defining transitions, see Transitions: To Implement a Transition Triggered by an Action and Transitions: To Implement a Group of Transitions. The transition should be defined inside a group and is performed without any conditions.