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

Wait flow does not resume after invoking REST-Service

SA-82835

Summary



A Wait shape is configured in a flow to wait for itself. The flow does not resume or continue after invoking the REST Service.


Error Messages



Not Applicable


Steps to Reproduce

  1. Interact with a Wait that waits for the case to reach the 'Pending-Approval' status.
  2. Invoke the REST call that uses an activity to invoke the Work-.UpdateStatus to update the status to 'Pending-Approval'.

Root Cause



An issue in the custom application code or rules.
Wait shape is not designed to wait for itself (same case instance).



Resolution



Perform the following local-change:
  1. Acquire the work object lock.
  2. Resume the flow in the REST-Service activity.

Published August 19, 2019 - Updated December 2, 2021

Was this useful?

0% 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