Method Timeout

A timeout defines the amount of time a Task will wait to complete an action before processing continues.

Default Value

By default the PBL-Method has the timeout set to 5 minutes. You can change this value using the timeout Predefined Variable.

Extending the Timeout Value

This method is not recommended for all situations. Instead, it should be used only occasionally. During the PBL-Method execution, several Engine resources are locked, therefore if you extend the timeout for each PBL-Method, the risk of having all the resources locked increases and it may produce a bottleneck.

The syntax is as follows:
// timeout is an interval 
// Increasing it to 20
minutes timeout = '20m'
Note: If you set the PBL-Method timeout to be greater than the Engine property 'Maximum PBL-Methods timeout', the PBL-Method will fail at runtime and a Engine log message is generated.

If you set the timeout predefined variable to null, then the Engine property (Maximum PBL-Methods timeout) value applies.

Timeout Limit

The Administrator can limit the timeout to a maximum for all processes deployed in a specific engine using the engine property Maximum PBL-Methods timeout. Maximum PBL-Methods timeout is a tool for the Administrator to ensure that the Engine resources are enough to serve all deployed processes. If a PBL-Method timeout is greater than the 'Maximum PBL-Methods timeout' property, such PBL-Method will fail.

The Maximum PBL-Methods timeout can be set from Studio Engine Properties as well as from Process Administrator Engine Properties.

Integrated Components Within a PBL-Method

When you use Components within a PBL-Method, you can set a timeout as one of the component attributes. This timeout applies to the component execution time.

If the PBL-Method runs one or more component, although they can have individual timeouts, the PBL-Method timeout rules the full processing.

For example, the maximum PBL-Method timeout is set to 3 minutes. You define a PBL-Method that runs 2 components (Component A and Component B), and both components have the timeout attribute set to 2 minutes.

Component A begins running and finishes in 1 minute, 45 seconds. Although Component B has an individual timeout set to 2 minutes, its execution will not last more than 1 minute, 15 seconds as passed that time the PBL-Method execution is aborted.