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

Exception Handling code is unable to handle exception

SA-89041

Summary



Exception Handling is added to the Obj-Save step of an Agent activity to check for StepStatusFail. However, the agent stops processing on encountering an error at this step.


Error Messages



Not Applicable


Steps to Reproduce



Allow the Agent activity to execute.


Root Cause



An issue in the custom application code or rules.
While Error Handling was determining the error, it did not clear the corrupt data from the Deferred list. The next time the activity performed a commit, the agent failed.



Resolution



Perform the following local-change to remove the corrupted data from the Deferred list:

Include a Rollback step in the Error Handling process.

Published March 25, 2020 - 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