Skip to main content

Challenge

Creating a case completion prediction

3 Tasks

15 mins

Visible to all users
Beginner Pega Customer Decision Hub 8.7 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.

 

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 Create a new prediction that predicts the probability of successful case completion

  1. On the exercise system landing page, click Pega CRM suite to log in to Prediction Studio.
  2. Log in to Prediction Studio as a data scientist with user name DataScientist and password 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.
    Outcome
  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'.
      data mappig
    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.
      The CX outcomes are reserved for cases that the expert handledinstead 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.
      Outcomes mapping
    7. Click Next to proceed to the Select predictors step.
    8. In the Select predictors wizard step, clear the CaseID checkbox.
    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.
    models
  2. Click Case completion to open the adaptive model that drives the prediction.
    Active model
  3. Click the Settings tab and 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. Select the Predictors tab and click Add field > Add multiple fields.
  2. On the Add predictors window, expand Current page, and click Page Claim.
  3. Select the Name checkbox to select all fields.
    Page claim
  4. Click Submit.
  5. Repeat steps 4-6 for Page Customer, but clear the Customer ID and Name checkboxes.
    Customer page
  6. Click Submit.
  7. Repeat steps 4-6 for Page Policy, but clear the StartDate and EndDate checkboxes.
    Policy page
  8. Click Submit.
  9. In the upper-right corner, click Save.
  10. 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 with user name ApplicationDeveloper and password rules.
  2. On the application overview page, in the Case types section, click Car insurance claim to open the case type.
    click car insurance claim
  3. On the case type, click the Settings tab, and in the menu, click Predictions.
    Settings tab of the case type
     
    Predictions
  4. In the Predictions section, click Add prediction.
    Add prediction
  5. Click Car insurance claim to expand the menu, and then click Predict Case Completion to add the prediction.
    Predict Case Completion
  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.
    Click the Decision icon
    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.
      Click the Gear icon
    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 then select Predictions > Predict Case Completion > Probability.
    4. Configure the new condition to read Probability is greater than 0.4.
      New condition
    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 Customer ID 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.
      Confirm that the case has been routed to a claims operator
    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.
        The case status is Resolved-Completed
      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 with user name DataScientist 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, and thenconfirm that an adaptive model exists 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.


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