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

Unable to reopen work object from Rejected stage

SA-66369

Summary



A work object does not resume correctly when reopening it from the Rejected stage.


Error Messages



Message in Tracer:

Warning: The work page pyWorkPage has unexpectedly been reverted to an older version.


Steps to Reproduce

  1. Create a case.
  2. Complete a step. 
  3. Change to the Rejected stage and reject.
  4. Click Reopen.


Root Cause



According to the Tracer details, the reopen process was routing to the correct stage and starting the flow; however, the DeleteAttachment was called by an activity. When DeleteAttachment was executed, it opened an older version of the work object from the database.


Resolution



Perform the following local-change such that the Obj-Open-By-Handle step in DeleteAttachment opens the work object from the deferred list:

Add a deferred Obj-Save before calling DeleteAttachment.
Suggest Edit

Published November 29, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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