Skip to main content

Adding a duplicate Case Type search

Archived

3 Aufgaben

10 Min.

Visible to: All users
Anfänger Pega Platform 8.5 Case Management Englisch
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. Hier klicken to continue your progress in the latest version.

Szenario

InsCorp wants to ensure that only one assistance request case is processed for each request. Customers that send assistance requests might have difficulty determining their exact location. If a customer submits multiple requests for the same vehicle, but for slightly different locations, the application should identify the new case as a duplicate case.

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

Role User name Password
Application Developer author@gogoroad pega123!
Hinweis: 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-Schritte

Genaue Übungsschritte

1 Add the Search duplicate cases automation

Hinweis: For the purposes of this challenge, the relevant properties are exposed to support the duplicate cases search on data relationship properties.
  1. In the navigation pane of App Studio, click Case types > Assistance Request to open the Assistance Request case type.
  2. Hover over the Create stage, and then click the More icon to open the stage configuration menu. 
    More icon if you hover over the Create stage
  3. On the configuration menu, click Add process > New process to add a new process.
  4. In the label field of the new process, enter Resolve duplicate cases
  5. Click Step > More > Automations > Search duplicate cases, and then click Select to add the Search duplicate cases automation to the process. 
  6. To the right of the Collect Information step named Create (2), click the Delete icon to remove the step from the process.
  7. Drag the Resolve duplicate cases process under the Create request process so that the Create stage resembles the following image.  
    resolve-duplicates

2 Define the basic condition

  1. Click the Search duplicate cases step to open the step properties pane on the right.
  2. In the step properties pane, click Add basic condition to open a dialog box to configure the basic condition.
  3. In the Potential duplicate list, in the Vehicle information - Data relationship section, select Make.
  4. Ensure that the Comparator list has the default value of is same.
  5. On the right, click the Add icon to add a row. 
    when-make-condition
  6. Repeat steps 3-5 to configure the basic condition as shown in the following image.
    basic-condition
  7. Click OK to close the dialog box.

3 Define the weighted conditions

  1. In the step properties pane of the Search duplicate cases step, in the And weighted conditions sum at least field, enter 50.
  2. Click Add weighted condition to open a dialog box to configure the weighted condition.
  3. In the Weight (0-100) field, enter a value of 25.
  4. In the Potential duplicate list, in the Service address - Data relationship section, select City.
  5. Ensure that the Comparator list has the default value of is equal to.
  6. To the right of the Current case field, click Select values to open the Select values dialog box.
  7. In the Type list, select Another field to display a drop-down list.
  8. In the drop-down list, in the Service address - Data relationship section, select City.
  9. Click Submit to select .ServiceAddress.City in the current case and return to the weighted condition dialog box.
  10. In the dialog box, click OK to complete the configuration of the first weighted condition.
  11. Repeat steps 2-10 to add two additional weighted conditions as shown in the following image.
    Weighted conditions for the Search duplicate cases automation
  12. Click Save to apply changes to the Assistance Request case type.

Arbeit überprüfen

  1. In the Assistance Request case type, click Save and run to run a new instance of the Assistance Request case type.
  2. In the Identify location step, enter the potential match criteria in the City, State, and Street fields.
  3. In the Identify vehicle step, enter must match criteria in the Make, Model, Model year, and Color fields.
  4. Advance the case to the Enter payment information step.
  5. Create another Assistance Request case instance.
  6. In the Identify location step, enter the City and State values from step 2, but enter a different value in the Street field.
  7. In the Identify vehicle step, enter the same Make, Model, Model year, and Color values from step 3.
  8. In the Identify vehicle step, click Create.
  9. Click Go to open the Display Duplicate Cases view.
    Tipp: The view indicates that the current case is a potential duplicate to the case listed on the form.
    show-duplicates
  10. Click Why is this shown here to display the Duplicate case analysis window.
    Hinweis: The Aggregated Score equals 50, which meets the threshold.
    duplicate-case-details


In der folgenden Mission verfügbar:

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