Step 2: Adding the PendingPayment Workflow State (Self-Guided Exercise)

To define a transition from the OnHold workflow state to the PendingPayment workflow state, you first need to define the PendingPayment workflow 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 workflow state in Workflow States: To Define a Workflow State.

While defining a state, you need to use the States.pendingPayment class, which you have added in Step 2: Defining the Set of States of the Workflow of the Screen Configuration: To Prepare a Screen Configuration for a Form Without a Predefined Workflow activity. In the PendingPayment workflow state, make the Customer ID, Service ID, and Device ID boxes of the Repair Work Orders (RS301000) form are unavailable for this workflow state.