Skip to main content

Control the workflow based on business context

Archived

3 Tasks

10 mins

Visible to: All users
Beginner Pega Platform 8.6 Case Management English
This content is now archived and is no longer updated. Progress is not calculated. Pega Cloud instances are disabled, and badges are no longer awarded. Click here to continue your progress in the latest version.

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

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:

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