Question

3
Replies
459
Views
Nidhi Chhabra (NidhiD11)
Bank of America

Bank of America
IN
NidhiD11 Member since 2015 3 posts
Bank of America
Posted: July 10, 2020
Last activity: September 11, 2020
Posted: 10 Jul 2020 4:17 EDT
Last activity: 11 Sep 2020 6:10 EDT

Getting Decision Table result in Pagelist

Hi, I have a requirement where I need to evaluate all rows of a decision table then i have a sort priority (which can be customized by business) all the rows that evaluates true, among them i have to find the row with the highest priority and there is another return value for the same row; which i have to save to the case as output of the decision table.

For eg: If Property 1 is x and Property 2 is y then I have a sorting priority of 1 and 2, which I will compare and come up with 1 being the highest so the decision table outcome would be A

Property1 Property2 Property3 Return Sorting Priority Final Output
x       1 A
  y     2 B
    z   3 C
y   x   4 D

Please help how to write it. 

***Edited by Moderator: Pallavi to update platform capability tags***  

Pega Platform 7.1.8 Enterprise Application Development Dev/Designer Studio Decision Management Senior System Architect