Skip to main content

Creating a case completion prediction

3 Tasks

15 mins

Visible to: All users
Beginner Pega Platform 8.8 Decision Management English

Scenario

U+ Insurance implements Pega Process AI™ to optimize case automation. The business wants to predict whether an incoming claim has a low probability of being completed in the time that is set 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 workflow, driven by an adaptive model that learns from previous cases.

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

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

Role User name Password
Data scientist DataScientist 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 the operator of a regular claim. The prediction learns which cases are likely to miss the deadline and require routing to the expert.

Task 2. Add potential predictors to the adaptive model.

Add all fields from the claim, policy, and customer data, except those with 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 0.4.

 

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. On the exercise system landing page, click Pega Infinity™ to log in to Prediction Studio.
  2. Log in to Prediction Studio as a data scientist:
    1. In the User name field, enter DataScientist.
    2. In the Password field, enter rules.
  3. In the header of the Predictions work area, click New to create a new prediction.
  4. In the Create a prediction dialog box, select Case management, and then click Next.
    Create prediction
  5. In the Prediction name field, enter Predict Case Completion.
  6. In the Outcome field, confirm that Case completion is selected.
  7. Confirm that Car insurance claim is the Subject to associate the prediction with this case type.
    O
  8. Click Start wizard.
    1. Ensure that I do not have historical data is selected, and then click Next to proceed to the Prediction configuration step of the wizard.
      Note: When you have used the exercise system for a previous challenge, I have historical data may be selected and you need to change this setting.
    2. In the Prediction configuration step of the wizard, in the Outcomes mapped to 'Fail' column, click the More icon next to Resolved-Rejected, and then select Map to 'Resolve'.
      d
    3. In the Ignored outcomes list, click the More icon next to Resolved-CX-Completed, and then select Map to 'Fail'.
    4. Repeat the previous step for 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 require routing to the expert.
    5. In the Outcomes mapped to 'Resolve' column, click the More icon next to Completed, and then select Ignore outcome.
    6. In the Outcomes mapped to 'Fail' column, click the More icon next to Resolved-Withdrawn, and then select Ignore outcome.
      O
    7. Click Next to proceed to the Select predictors step.
    8. In the Select predictors wizard step, select the Field checkbox to select all fields, but clear the CaseID, Case status and Instance Handle Key checkboxes.
    9. Click Next to proceed to the Review prediction step.
    10. In the Review prediction step, click Create to complete the prediction creation process.
  1. In the upper-right corner, click Save.

2 Add potential predictors to the adaptive model

  1. In the prediction, click the Models tab.
    m
  2. Click Case completion to open the adaptive model that drives the prediction.
    A
  3. Click the Predictors tab and click Add field > Add multiple fields.
  4. On the Add predictors window, expand Current page, and click Page Claim.
  5. Select the Name checkbox to select all fields.
    a
  6. Click Submit.
  7. Repeat steps 4-6 for Page Customer, but clear the Customer ID and Name checkboxes.
    a
  8. Click Submit.
  9. Repeat steps 4-6 for Page Policy, but clear the StartDate and EndDate checkboxes.
    a
  10. Click Submit.
  11. In the upper-right corner, click Save.
  12. In the lower-left corner, click the DS user 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:
    1. In the User name field, enter ApplicationDeveloper.
    2. In the Password field, enter rules.
  2. On the application overview page, in the Case types section, click Car insurance claim to open the case type.
    c
  3. On the case type, click the Settings tab, and in the menu, click Predictions.
    S
     
    P
  4. In the Predictions section, click Add prediction.
    A
  5. Click Car insurance claim to expand the menu, and then click Predict Case Completion to add the prediction.
    P
  6. In the upper-right corner, click Save.
  7. On the Workflow tab of the case type life cycle, in the Claims process stage, click the Decision step.
    C
    1. In the properties pane on the right, to the right of the When list, click the Gear icon to define the condition for the step.
      C
    2. In the Configure condition window, in the Fatalities row, click the Delete icon to remove the condition.
      D
    3. Click the first field of the Casualties condition, and then select Predictions > Predict Case Completion > Probability.
    4. Configure the new condition to read Probability is greater than 0.4.
      N
    5. Click Submit to close the window.
  8. In the upper-right corner, click Save and run to preview the Insurance Application.
    1. In the Insurance Application, in the Claim Customer CustomerID field, enter C-1.
    2. Click outside the field to populate the claim details.
    3. Click Submit to run the application.
    4. In the upper-right corner, click Actions > Refresh.
    5. Confirm that the case is routed to a claims operator and that the deadline is in two minutes.
      C
    6. In the assignments section, click Begin to start the task.
      1. In the Approval section, click Approve.
      2. Notice that the case status is Resolved-Completed.
        T
      3. In the upper-left corner, click New > Car insurance claim to test other scenarios.
  9. 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 expires, refresh the page, and then approve or reject the claim as an expert to generate a negative outcome.
  1. In the lower-left corner, click the user icon, and then select Log off.

Confirm your work

  1. Log in to Prediction Studio as a data scientist:
    1. In the User name field, enter DataScientist.
    2. In the Password field, enter 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, and then confirm that an adaptive model exists for each stage in the life cycle that the cases have accessed.
    chart
    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:


Available in the following mission:

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