Support Article
Assignment status not getting updated instantly
SA-21168
Summary
Code which formerly updated the Assignment status next to the Assignment link on the Review harness now has no effect.
Error Messages
Not Applicable
Steps to Reproduce
- Create a local action which calls the "UpdateStatus" activity from its post activity to update the status of the work object and the Assignment.
- Open a work object in a flow which can call the local action.
- Run the local action and observe the Assignment and work object are not updated as expected.
Root Cause
An issue in the custom application code or rules. There is a new property in PEGA7 on the pxFlow page called “ pxAssignStatus” and it is this status which gets presented as the Assignment Status on the Review harness. There is a check added to get pxAssignStatus from the flowPage and verify if it is modified. In user scenario, as the status on pxFlow is not modified, it is directly showing the status from pxFlow instead of getting a fresh value from the database.
Resolution
Perform the following local-change: Setting the assignment status on pyWorkPage.pxFlow(<Flow>).pxAssignStatus will resolve the issue.
Published March 23, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.