Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Create a local action which calls the "UpdateStatus" activity from its post activity to update the status of the work object and the Assignment.
  2. Open a work object in a flow which can call the local action.
  3. 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

Was this useful?

33% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us