Step 4: Defining the Paid State (Self-Guided Exercise)
To define a transition from the Completed
state to the
Paid
state, you first need to define the Paid
state. In this step, you will define the Paid
state of the workflow
as a self-guided exercise. You have learned how to add a state in Workflow States: To Define a Workflow State.
While defining a state, you need to use the States.paid
class, which
you added in Step 2: Defining the Set of States of the Workflow. In the
Paid
state, make the Customer ID,
Service ID, and Device ID boxes
disabled.