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

False Error on Runs Taking Longer Than 30 Mins to Process

SA-20834

Summary



Incorrect error message received when distribution test or Program run lasts longer than 30 minutes. End user interface shows time-out and failure while run continues to process in the background. 

Error Messages



Batch Strategy execution failed: Failed to complete batch run & WO is open running for last :30 minutes and progress of records are constant for long time.

Steps to Reproduce



Run the Program which will run for duration greater than 30 minutes.

Root Cause



For Batch Strategy execution, the default timeout has been set to 30 minutes.


Resolution



If the default system behavior that determines the transition of work items corresponding to simulations to resolved-failed status needs to be changed, add the corresponding system settings and set the value to the desired time interval in minutes.
 
• By default, work items in open-running status without any progress for five minutes are set to resolved-failed. Default system behavior can be modified by adding the dsm/batch/autoRecoveryTimeForOpenRunningStatus Dynamic System Setting (DSS) owned by Pega-DecisionEngine and configuring it with the desired value (for example, 10).

• By default, work items in pending-scheduled status for 30 minutes are set to resolved-failed. Default system behavior can be modified by adding the dsm/batch/autoRecoveryTimeForPendingStatus DSS owned by Pega-DecisionEngine and configuring it with the desired value (for example, 60).

Added the DSS entries and set timeout value more than the Program run duration.

Published March 16, 2016 - 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