I want search duplicate case based on combination of single value and PageList properties.
While using case match rule we can't include PageList property into weighted condition, So for the work around I applied a function there which compare the two page list property and return true or false based on the result.
I created an index rule to fetch the property from report and used the index in the report definition "pyCaseMatchProcessingTemplate".
But still it doesn't seems to work. Have anyone ever tried using PageList into Case match rule.
Should I go with the approach of creating an Activity? This requirement can be achieved by that.
I don't believe that a case match evaluation condition will work for anything that isn't a scalar property, so you would need to do it within something like an activity if you need to loop through lists/groups. Your function idea is an interesting alternative and I expect you could get it to work, though I've never tried anything like that. I'd start by just having the code do nothing but return true to confirm that works and then from there use oLog statements to debug your code until the logic works the way you need it to.
Posted: 4 years ago
Posted: 23 Jul 2018 1:57 EDT
Siddharth Aggarwal (Siddharth21)
Thanks for taking out your time and help me find the solution.
I made it work by doing some work around approach. I created a Declare expression which store the PageList value in comma separated format in Scalar property and then I compared the comma separated values by writing a function.