Skip to main content

Challenge

Control the workflow based on business context

Scenario

When customers submit a request for roadside assistance, a customer service representative (CSR) manually validates whether the customer is enrolled in roadside assistance coverage. To improve efficiency, stakeholders want to automate this step. Replace the existing Approve/Reject step with an automated decision that sends the case to the Approval Rejection stage if the customer is unenrolled.

The following table provides the credentials you need to complete the challenge.

Role User name Password
Application Developer author@gogoroad pega123!
Note:  Your practice environment may support the completion of multiple challenges. As a result, the configuration shown in the challenge walkthrough may not match your environment exactly.

Challenge Walkthrough

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Detailed Tasks

1 Remove the CSR persona from the Validation stage

  1. In the navigation pane of App Studio, click Case types > Assistance Request to open the Assistance Request case type.
    Note: Ensure you click Life cycle to display the Assistance Request case life cycle.
  2. In the Validation stage, to the right of the CSR persona, click the Delete icon to remove the persona.
    Note: Because the manual decision to approve the case is being automated, a persona is inapplicable to the stage.
  3. Click Save to apply the changes.

2 Add a Decision shape and Change to a stage to the Validate request process

  1. Hover over the Validate request process, and then click Configure process to open the process modeler.
  2. Click Add a flow shape > Decision to add a decision shape.
    Add a decision shape to flow
  3. In the Decision shape, click the label, and then enter Validate request to replace the default label.
  4. Click Add a flow shape > Automations > Change to a stage to add a change stage automation.
    Note: By default, flow shapes are added to the center of the process modeler and may overlap. Move shapes as necessary to make the process easier to interpret.
  5. In the Change to a specific stage automation shape, click the label, and then enter Change to rejection stage.
  6. On the right, in the properties pane of the Change to rejection stage shape, in the Stage list, select Approval Rejection.
  7. On the canvas, click the Validate request Approve/Reject shape, and then click the Delete icon in the process modeler toolbar to delete the shape.
    Delete the Approve/Reject shape in the Validate request process
  8. Drag the connector from the starting shape to the Validate request decision shape.
  9. Delete the connector that points to the ending shape.
    Validate request process with a partially configured decision shape

3 Configure the Validate request decision shape

  1. On the canvas, click the Validate request decision shape to open the properties pane on the right.
  2. In the properties pane of the Validate request decision shape, in the When list, ensure that Custom condition is selected.
  3. To the right of the When list, click the Gear icon to open the Configure condition dialog box.
  4. In the first drop-down list, click Fields > Customer ID > Enrollment. The value of the second drop-down list defaults to is true.
  5. Click Submit.
  6. In the properties pane of the Validate request decision shape, in the Go to list, select [End].
  7. In the Otherwise go to list, select Change to rejection stage.
    Properties pane for a decision shape in the Validate request process
  8. In the upper right, click Save to apply the changes.
    Validate request process with a decision shape
  9. In the header of the canvas, click Stages & steps to return to the case life cycle.

Confirm your work

  1. In the Assistance Request case type, click Save and run to create a new Assistance Request case.
  2. Advance the case past the Identify issue view.
  3. In the Enter customer information view, select the account ID of a customer that is not enrolled in roadside assistance coverage.
    The Enter customer information step with information for an unenrolled customer
  4. Advance the case past the Enter payment information view to display the Prompt for enrollment view.
    Prompt for enrollment
  5. Create a second Assistance Request case.
  6. In the Enter customer information view, select the account ID of a customer that is enrolled in roadside assistance coverage.
  7. Advance the case past the Enter payment information view to display the Select service provider view.
    The Select service provider step, indicating that the customer was validated
    Note: The content of the list of service providers depends on the location that is entered in the Identify location view. If you did not enter a location, the list of providers is empty.


Available in the following missions:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice