Question

3
Replies
481
Views
Close popover
Vijai Kundum (kundv)
PEGA
Technical Lead - Customer Service
Pegasystems Inc.
IN
kundv Member since 2014 1 post
PEGA
Posted: August 5, 2019
Last activity: April 16, 2020

Getnextwork not considering the dynamically calculated values for sort order.

Need to customize GetNextWork List view to sort by pxUrgencyAssign which should be calculated dynamically. For this purpose, I modified the pxurgencyassign OOTB declare expression. But the list view does not compute the calculation per the declare expression, it is instead sorting by the pxUrgencyAssign value fetched from the database.Tried to set it in the organize tab too but didn't seem to work. Is this requirement supported in GNW ? If not, how do I make GNW consider a dynamic requirement where the calculations always need to be based on current date time?

 

Example : pxurgencyassign for 3 records is I-1 -- 70, I-2 -- 60,I-3 -- 30. The pxurgency assign declare expression computes the value to be current time - (.property1) and sets it as I-1 -- 37,I-2 --42, I-3 -- 13. I need it sorted as I-2, I-1 and I-3. Instead I see the GNW sort order as I-1,I-2,I-3.

 

(The platform version is 7.3.1.)

***Edited by Moderator: Pallavi to change category from General to Product and add product version***

Pega Platform 7.3.1 Low-Code App Development Case Management