Track and recover requests in Backlog

Find out why a process step or a call to another system didn't get through, and run it again. Backlog is the queue behind your processes. When a step needs to call another system, Backlog queues the call as a request. By default a step gets one attempt. If you set Retry on error condition on the step, Backlog retries the request with the number of attempts and the wait time you chose there. When all attempts are used, the request moves to the failed requests. Nothing is lost.

Before you begin

Make sure you have a role with access to Backlog, such as odigos-monitoring-lezen. Roles are assigned in Sentinel.

View the queues

  1. Open Backlog. Overview shows how many requests in each queue are Waiting, In progress and Failed.
  2. Check the failure ratio: the share of recently processed requests that failed. To set how many requests it covers, use Measure the failure ratio over the last.
  3. To stop a queue for a while, for example during maintenance on another system, click Pause queue. The requests stay in the queue. Click Resume queue to continue.

Below the queues, a chart shows activity per hour and per day. A growing queue or a rise in errors shows up here straight away.

The Backlog overview with two queues. Each queue shows the counters Waiting, In progress and Failed, the failure ratio, and buttons to pause, resume and clear failed requests.

Retry a failed request

A request moves to Failed requests when all its attempts are used. It is no longer retried automatically, but it is kept.

  1. Open Failed requests. Each request shows its queue, its attempt and when it failed.
  2. Open the request and read the error details. The full message is also in Murphy.
  3. Fix the cause, for example a connection in Hub or an error in the process.
  4. Click Restart from the beginning. The request goes back on the queue and its attempt counter starts again at 0.

If a request no longer needs to run, choose Delete permanently. To remove all failed requests from a queue at once, click Clear failed on the overview.

The Failed requests list in Backlog with requests from Duinzicht processes, such as Duinzicht: offerte als PDF and Duinzicht: factuur opvolgen. Each shows the attempt, when it failed, and buttons to restart or delete it.

Run work in a fixed order with subqueues

If a process has to do its work in a fixed order, put it in a subqueue. A subqueue has its own order and its own limit on how many instances run at the same time. Other work carries on alongside it. There are three orders:

  • Free: instances run side by side, up to the number you set.
  • Per key: instances with the same key, such as the same customer, run one after another.
  • Strictly one after the other: one instance at a time, in the order they arrive.

To create a subqueue, go to Subqueues and click New subqueue.

Note: a stuck instance blocks its subqueue until someone restarts or cancels it. A process that waits for a person, a timer or a message is therefore not suited to a strict subqueue or a subqueue per key.

See also