Issue
When the user updates urgency of the work object, existing assignments do not recalculate the urgency automatically.
Symptoms and impact
Assignment urgency does not change with the updates made to the urgency of work object.
Steps to reproduce
- Create a work object and set a value to its pxUrgencyWork property.
- Create an assignment for that work object. The pxUrgencyAssign value of the work object will be calculated at the time of assignment creation.
- Update the pxUrgencyWork value on the work object and observe that the pxUrgencyAssign value of the assignment does not change correspondingly.
Root cause
This behavior is expected in releases before Pega InfinityTM '25.
The assignment automatically calculates the urgency only during the time of its initial creation.
Solution
Update to Pega Infinity ‘25.
In the Pega Platform releases earlier to Pega Infinity '25, you can perform the following steps to mitigate the issue:
- Create a Declare OnChange rule.
- Configure the Declare OnChange to run when the pxUrgencyWork property is changed.
- Configure the Declare OnChange to call the OOTB resynchAssignmentUrgency activity from the Work- class to update the assignment urgency.