I need to do duplicate case search based on three properties X, Y, Z.
I have a scenario where I first get an option of two buttons in harness whether you want to create single invoice case or multiple invoices case for one casetype and based on the selection of any button capture details section will be displayed.
For single invoice case the context of properties where duplicate search needs to be done are : .HeaderDtls.DeptDtls.X
For Multiple invoices case the context of properties are : .LineItemDtls.X
I'm able to achieve duplicate search for single invoice case.
But for multiple invoices case though the properties are same as single invoice case , for two properties context of referring the properties are different in capturedetails screen
How do achieve duplicate search in track duplicates .
To Achieve your requirement you can use the Circumstance by property.
Steps to achieve it are
Step1: find the property which decides the Invoice either single or multiple
Step2: Circumstance the pyDefaultCaseMatchRule like if InvoiceType=Single or InvoiceType=Multiple which satifies your requirement. According to your requirement apply the weighted conditions and must match conditions in the casematch Rule.
Step3: Test your scenarios
Posted: 3 years ago
Posted: 10 Apr 2019 8:00 EDT
Soumi Bhattacharya (SoumiB31)
Hello Everyone I had a requirement to display the matched properties after duplicate search case.Like if my weighted conditions include first name,last name and mobile number.any suggestions how I can implement this?
Posted: 3 years ago
Posted: 10 Apr 2019 15:06 EDT
Marissa Rogers (MarissaRogers)
Senior Knowledge Management Specialist
Thank you for posting your query on PSC. This looks like an inactive post and hence, we suggest you create a new post for your query.
Thank you for posting your query on PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write a Post button that’s at the top of this screen and also on our Pega Support Community homepage. Once created, please reply back here with the URL of the new post.