Skip to main content

Creating a case completion prediction

3 Tasks

15 mins

Visible to: All users
Beginner Pega Customer Decision Hub 8.6 English
Verify the version tags to ensure you are consuming the intended content or, complete the latest version.

Scenario

U+ Insurance implements Pega AI to optimize case automation and wants to predict if an incoming claim has a low probability of being completed in the time that is defined in the service-level agreement (SLA) for regular processing. These complex claims are to escalate to an expert to reduce the average cycle time and improve the customer experience.

A data scientist creates a prediction that predicts the probability of successful case completion in the regular work flow, driven by an adaptive model that learns from previous cases.

An application developer then implements the prediction in the Car insurance claim case type to identify cases that have a low probability of being completed on time in the regular claim process and assign them to an expert.

Use the following credentials to log in to the exercise system:

Role User name Password

Data scientist

CMDataScientist

rules

Application developer

ApplicationDeveloper

rules

Your assignment consists of the following tasks:

Task 1. Create a new prediction that predicts the probability of successful case completion.

As a data scientist, create a new case management prediction to calculate the probability of successful case completion. Set the positive case outcomes to Resolved-Completed and Resolved-Rejected and the negative case outcomes to Resolved-CX-Completed and Resolved-CX-Rejected.

Note: The CX outcomes are reserved for cases that the expert handled instead of a regular claims operator. The prediction learns which cases are likely to miss the deadline and must be routed to the expert.

Task 2. Add potential predictors to the adaptive model.

Add all fields from the claim, policy, and customer data, except those that have no predictive power or are not allowed as potential predictors to the adaptive model.

Task 3. Implement the new case completion prediction.

As an application developer, drive the decision to escalate a case in the Car insurance claim case type with the new prediction. Set the condition to route the case to an expert to read Probability is greater than 5.

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

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

Challenge Walkthrough

Detailed Tasks

1 Create a new prediction that predicts the probability of successful case completion

  1. Log in to Prediction Studio as a data scientist with user name CMDataScientist and password rules.
  2. In the header of the Predictions work area, click New to create a new prediction in the Create a prediction dialog box.
  3. In the Create a prediction dialog box, select Case management, and then click Next.
    Create prediction
  4. In the Prediction name field, enter Predict Case Completion.
  5. In the Outcome field, confirm that Case completion is selected.
  6. In the Subject list, confirm that Car insurance claim is selected to associate the prediction with this case type.
    Outcome
  7. Click Start wizard.
  8. Click Next to proceed to the Prediction configuration step.
  9. In the Prediction configuration wizard step, in the Outcomes mapped to 'Fail' list, click the More icon next to Resolved-Rejected, and then select Map to 'Resolve'.
  10. In the Ignored outcomes list, click the More icon next to Resolved-CX-Completed, and then select Map to 'Fail'.
  11. Repeat step 10 for Resolved-CX-Rejected.
    Note: The CX outcomes are reserved for cases that were handled by the expert handled instead of a regular claims operator. The prediction learns which cases are likely to miss the deadline and must be routed to the expert.
  1. Configure the Completed and Resolved-Withdrawn outcomes to be ignored.
    Outcomes mapping
  2. Click Next to proceed to the Select predictors step.
  3. In the Select predictors wizard step, clear the CaseID field.
  4. Click Next to proceed to the Review prediction step.
  5. In the Review prediction step, click Create to complete the prediction creation process.
  6. In the upper right, click Save.

2 Add potential predictors to the adaptive model

  1. On the Models tab, click Case completion to open the adaptive model that drives the prediction.
    Active model
  2. On the Settings tab, set the Model update frequency to 1.
    Note: For learning purposes, you want to ensure the system is updated after every single case creation. Therefore, you set this value to 1. In a real system, this value remains unchanged.
  1. On the Predictors tab, select Add multiple fields in the Add fields list.
  2. Expand Current page, and then click Page Claim.
  3. Click the Name checkbox to select all fields.
    Page claim
  4. Click Submit.
  5. Repeat steps 20-23 for Page Customer but deselect Customer ID and Name.
    Customer page
  6. Repeat steps 20-23 for Page Policy but deselect StartDate and EndDate.
    Policy page
  7. In the upper right of Prediction Studio, click Save.
  8. In the lower left, click the DS icon, and then select Log off to log out of Prediction Studio.

3 Implement the new case completion prediction

  1. Log in to App Studio as an application developer with user name ApplicationDeveloper and password rules.
  2. In the navigation pane of App Studio, click Case types to open the Case Type Explorer.
  3. Click Car insurance claim to open the case type.
    Car insurance claim
  4. On the Settings tab of the case type, in the menu, click Predictions.
    Settings
     
    Predictions
  5. In the Predictions section, click Add prediction.
    Add prediction
  6. Click Car insurance claim to expand the menu, and then click Predict Case completion to add the prediction.
    Predict Case Completion
  7. In the upper right, click Save.
  8. On the Workflow tab, in the Claims process stage of the case type life cycle, click the Decision icon.
    Life cycle
    1. In the Step pane on the right, to the right of the When list, click the Gear icon to define the condition for the step.
      Condition
    2. In the Configure condition window, in the Fatalities row, click the Delete icon to remove the condition.
      Delete condition
    3. Click the first field of the Casualties condition and select Predictions > Predict Case Completion > Probability.
    4. Configure the new condition to read Probability is greater than 5.
      New condition
    5. Click Submit to close the window.
  9. In the upper right, click Save and run to preview the Insurance Application.
  10. In the Insurance Application, in the Claim Customer Customer ID field, enter C-1.
  11. Click outside the field to populate the claim details.
  12. Click Submit to run the application.
  13. In the upper right, click Actions > Refresh.
  14. Confirm that the case has been routed to a claims operator and that the deadline is in two minutes.
    Claims operator
  15. Click Action > Refresh until the deadline has expired and the case has been reassigned to an expert.
    Expert
  16. In the assignments section, click Begin to start the expert task.
    1. Review the claim details and click Approve.
    2. Notice that the case status is Resolved-CX-Completed.
      Resolved-CX-Completed
    3. In the upper right, click Exit preview to return to the case type life cycle.
  17. Run the application several times, using C-1 and C-3 as the Customer ID.
Tip: Approve or reject the claim as a claims operator to generate a positive outcome or wait until the deadline has expired and approve or reject the claim as an expert to generate a negative outcome.
  1. In the lower left, click the user icon, and then select Log off.

Confirm your work

  1. Log in to Prediction Studio as a data scientist with user name CMDataScientist and password rules.
  2. In the Predict Case Completion tile, click Open prediction.
  3. On the Models tab, click Case completion to open the adaptive model.
  4. Click Refresh data.
  5. Confirm that an adaptive model has been created for each stage in the life cycle that the cases have accessed.
    Adaptive models
    Note: The names of the models refer to the primary stages (PRIM) and alternative stages (ALT) and are numbered by their position in the life cycle of the case type.

This Challenge is to practice what you learned in the following Module:


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