TaskRouter | Apr. 08, 2024

Agents with pending reservations can now move between Available states

Recently, a change was made to allow workers to change from one Available activity state to another while they have task reservations. Reserved tasks will remain with the worker until the worker accepts or rejects them, or until the reservation timeout is reached.

Previously, a worker with a task reservation could not change their status from one Available activity state to another while a task  was pending.

This means that when a worker changes from one Available activity state to another, they might still have reservations for their previous activity state. For example, if a worker’s activity state is High Value Tasks and they change their state to Low Value Tasks, that worker may still have pending High Value Tasks reservations. The worker would need to accept or reject those reservations. If the worker doesn’t take any action, the tasks will remain reserved until they reach the reservation timeout.

TaskRouter