Skip to content

Timeouts

A range of timeouts have been implemented for workflow execution, each with a default value designed to maintain system stability and ensure reliable operation.

You can adjust the default timeout values according to business requirements by updating the relevant system setting parameters directly in the BPA_SYSTEM_SETTINGS_TAB database table. Please note that after modifying these values in the database, the middle-tier containers restart is required for the changes to take effect. All timeout values are set in seconds. For more details, see the Asynchronous Workflows.

Note: Adjusting timeout values should be done with care, as increasing them may lead to transaction timeouts and could negatively impact system performance.

Adjust them only when you understand the impact on stability and related system limits. Always ensure values remain compatible with other system limits (e.g., API Gateway Timeout).

Timeout TypeParameter NameDefault ValueDescription
Execution TimeoutSINGLE_THREAD_EXECUTIONS_TIMEOUT300 seconds (5 minutes)Maximum execution time for Cascade Workflows, whether triggered synchronously ('Before' or 'After') or asynchronously. If chained or asynchronous workflows exceed this duration, the execution will fail with an error.

Tip: Ensure this value is less than the API Gateway Timeout.
Async Thread DelayASYNC_THREAD_DELAY_SECONDS15 secondsThe thread sleep duration, specified in seconds, is applied when there are no asynchronous jobs to process before attempting to retrieve the next batch.
Debug TimeoutDEBUG_TIMEOUT_DURATION480 seconds (8 minutes)Maximum duration allowed when running workflows in debug mode (Inspect BPA). If debugging takes longer than this period, the process will time out, and you will receive an error message: "It took long time to inspect the Workflow. Please limit the amount of data and try again".

Tip: Consider the gateway timeout when setting this value. Setting it too high value may impact system stability. For additional tips see the troubleshooting timeout limit section.
Async Thread Lock TimeoutASYNC_THREAD_LOCK_TIMEOUT10800 seconds (3 hours)This configures how many minutes the Asynchronous job lock is held in case the executor has failed. Once the timeout is reached Asynchronous job locks are released for reprocessing by another executor. The Default value is 180 minutes.