Skip to main content

Control the workflow based on business context

Archived

3 Tasks

10 mins

Visible to: All users
Beginner
Pega Platform
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 with InsCorp, a customer service representative (CSR) manually validates whether or not the customer is enrolled in roadside assistance coverage. To improve efficiency, InsCorp stakeholders decide that this step should be automated. Replace the existing Approve/Reject step with an automated decision.

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

Role Operator ID Password
Application Developer author@gogoroad pega123!

Challenge Walkthrough

Detailed Tasks

1 Add a decision shape to the Validate request process

  1. In the App Studio navigation pane, click Case types > Assistance Request to open the Assistance Request case type.
  2. Hover over the Validate request process and click Configure process to open the process modeler.
  3. Click Add a flow shape > Decision to add a decision shape.
    Add a decision shape in the process modeler
  4. Rename the decision shape Validate request.
  5. 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.
  6. Rename the Change to a specific stage automation Change to rejection stage.
  7. In the properties pane of the Change to rejection stage shape, in the Stage drop-down, select Approval Rejection.
  8. Click the Validate request Approve/Reject shape, and then click the Trash icon in the process modeler toolbar to delete the shape.
    Delete the Approve/Reject shape in the Validate request process
  9. Drag the connector from the start shape to the Validate request decision shape.
  10. Delete the connector to the end shape.
    Validate request process with a partially configured decision shape

2 Configure the Validate request decision shape

  1. In the properties pane of the Validate request decision shape, in the When drop down, ensure that Custom condition is selected.
  2. To the right of Custom condition, click the Gear icon to open the Configure condition dialog box.
  3. In the first drop-down list, select the Enrollment field in the Customer ID data object. The second drop-down list defaults to is true.
  4. Click Submit.
  5. In the Go to drop-down, select [End].
  6. In the Otherwise go to drop-down, select Change to rejection stage.
    Properties pane for a decision shape in the Validate request process
  7. Click Save to apply the changes.
    Validate request process with a decision shape

3 Confirm your work

  1. In the Assistance Request case type, click Save and run to run a new instance of the Assistance Request case type.
  2. Advance the case past the Create view.
  3. In the Enter customer information view, select the account ID of a customer that is not enrolled in roadside assistance coverage.
    Enter customer information view with sboucher@example.com account selected
  4. Advance the case past the Enter payment information view. The Prompt for enrollment view is displayed.
    Prompt for enrollment view
  5. Create a second Assistance Request case instance.
  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. The Select service provider view is displayed.
    Select service provider view


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