Question
Duplicate Case Search
Hi,
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
.HeaderDtls.VendorDtls.Y
.HeaderDtls.InvoiceDtls.Z
For Multiple invoices case the context of properties are : .LineItemDtls.X
.HeaderDtls.VendorDtls.Y
LineItemDtls.Z
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 .
Pls suggest.
Thanks,
Padma
Hi,
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