False Error on Runs Taking Longer Than 30 Mins to Process
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.
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.
For Batch Strategy execution, the default timeout has been set to 30 minutes.
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.