Patil Rushikesh (RUSHIKESH-1)

RUSHIKESH-1 Member since 2011 7 posts
Posted: December 7, 2015
Last activity: March 22, 2017
Posted: 7 Dec 2015 11:30 EST
Last activity: 22 Mar 2017 11:32 EDT

Is there any Pega rule which will return multiple results based on multiple conditions true?

Dear Pegaites,

I have a requirement to evaluate data for multiple valid combinations and return different results. Any decision rule like decision table/tree only return the result where particular row data is matched. But I want to evaluate all the rows till the end and return all true results. I know in Pega 7 we have Cascading approval rule which does the similar thing and the decision table called there does evaluate all the rows and return the result set but its more designed for multiple approvals. I want to achieve the similar functionality but for different use case.

The options I thought

1. Was to call the decision table/tree multiple times in a loop and keep a flag as a column in decision table for previous valid combination to not to check it again if the combination was returned true earlier.

2. Instead of calling decision tree/table check the preconditions in activity for each valid combination of data and set mutiple flags true.

Your suggestion are welcome.



Case Management
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.