twilio-taskrouter

Twilio Taskrouter: How to prevent last worker in queue from being reassigned rejected task?

感情迁移 提交于 2020-01-06 08:42:15
问题 I'm using NodeJS to manage a Twilio Taskrouter workflow. My goal is to have a task assigned to an Idle worker in the main queue identified with queueSid , unless one of the following is true: No workers in the queue are set to Idle Reservations for the task have already been rejected by every worker in the queue In these cases, the task should fall through to the next queue identified with automaticQueueSid . Here is how I construct the JSON for the workflow (it includes a filter such that an

Twilio Taskrouter: How to prevent last worker in queue from being reassigned rejected task?

删除回忆录丶 提交于 2020-01-06 08:42:08
问题 I'm using NodeJS to manage a Twilio Taskrouter workflow. My goal is to have a task assigned to an Idle worker in the main queue identified with queueSid , unless one of the following is true: No workers in the queue are set to Idle Reservations for the task have already been rejected by every worker in the queue In these cases, the task should fall through to the next queue identified with automaticQueueSid . Here is how I construct the JSON for the workflow (it includes a filter such that an