Handling timeouts

The callback create step callbackTimeout property is used to set a timestamp or a period after which the process should be considered timed out. It defaults to "PT1H", i.e. one hour.

All the background executions for a worker are examined periodically, and if any are still active but have exceeded their timeout period, they are considered timed out. and their status is set to "timeout". Timeout handling follows the same mechanism as cancel handling described in Cancelling a background execution, creating a state of "timeout" in any start, progress or complete step for the called process.

Because of the way that timeout processing is implemented, the timeouts are not completely accurate. For example, a timeout period of one hour might not be triggered for an hour and ten minutes. The timeout feature is not suitable for short timeouts (such as a few seconds), use the await option (see Waiting for completion) which checks timeout more frequently.