Step 2: Adding the Pending Payment State (Self-Guided Exercise)

To define a transition from the OnHold state to the PendingPayment state, you first need to define the PendingPayment state. In this step, you will define the PendingPayment 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.pendingPayment class, which you added in Step 2: Defining the Set of States of the Workflow. In the PendingPayment state, make the Customer ID, Service ID, and Device ID boxes of the Repair Work Orders (RS301000) form disabled for the state.