Queues and reviewers
A queue is a named list of Unstract Flow tickets and the people who work them. A review step sends its tickets to a queue, and the reviewers in that queue pick them up with Get Next. Queues decide where a ticket goes, whose Get Next offers it, and who is told when it's escalated: the queue's owners and supervisors. They don't decide who sees or claims it. Everyone in your organization can see every ticket, whatever its queue, and owners, admins, members and Agents can claim any of them from the ticket list.
Flow creates a default queue, Reviews, the first time you prepare a workflow that has a review step. When a queue called Reviews already exists, it's created as Default reviews. The default queue belongs to your organization's first owner, the owner who joined earliest, and it can't be deleted. Review steps with no queue set send their tickets to it, and so do review steps whose queue has been deleted. In the editor, Run refuses a review step whose settings name a deleted queue until you pick another.
A queue named in the spec wins over the queue in the step's settings. Flow finds it by its name, and when your organization has no queue of that name, that step's tickets go to the default queue. Run in the editor checks a spec's queue only for being paused.
The Agent role
The Agent role is for people who only review. An Agent can see, claim, skip, escalate and resolve tickets. An Agent can't build or run workflows, manage queues, or see Analytics or the organization's members.
To add a reviewer:
- In Settings, open the Members tab and select Invite Member.
- Enter their Email address.
- In Role, pick Agent, then select Send Invitation.
Create a queue
Queues live in Settings, on the HITL queues tab. The tab appears for people who can manage queues: your organization's owners and admins.
- Select Create queue. The Create a queue dialog opens.
- In Queue name, enter the name review steps refer to, in lower case with no spaces, for example
po-edi-review. - In What it is for, describe what a reviewer checks.
- Under Agents, tick the people who work this queue.
- Select Create queue.
Each queue in your organization has its own name. A name another queue already has is refused, here and in Rename and edit, with "A queue named ... already exists. Choose another name." Spaces before and after a name are dropped.
You own the queues you create. Queues Flow creates for a template belong to your organization's first owner. Your organization's owners and admins can use Manage agents, Rename and edit and Pause queue on any queue, whoever owns it, and Delete queue on any queue but the default one. A queue stays manageable after its owner leaves the organization or stops being an admin.
- When you rename a queue, review steps whose settings picked it keep sending it their tickets, and their settings show the new name. A queue named in the spec is found by its name: after you rename one, edit the spec to use the new name and prepare again. Until you do, those tickets go to the default queue.
- You can delete a queue only while it has never had a ticket. Once a review step has sent it a ticket, even one that is now resolved, Delete queue is refused and the queue keeps its tickets. Pause it instead, and change its review steps to another queue.
In the workflow editor, set the queue in each review step's settings. Human review shows where.
Pause a queue
On the queue's row, open the menu and select Pause queue. The row then shows Paused. A paused queue still receives tickets from review steps, and they appear in the ticket list, but Get Next and the next ticket after each decision pass over its tickets. They wait unclaimed, and their runs keep waiting, until you select Resume queue. Owners, admins, members and Agents can still claim one from the ticket list. Tickets already claimed when you pause stay with their reviewers.
Change who works a queue
- On the queue's row, open the menu and select Manage agents. Only people with the Agent role appear in the list.
- Tick or untick people.
- To make someone a supervisor of the queue, tick Supervisor beside their name. A supervisor's Get Next opens the queue's escalated tickets before any other, and escalating a ticket notifies the queue's supervisors and owners. In a queue with no supervisor, escalated tickets leave everyone's Get Next; claim them from the ticket list.
- Select the save button, for example Save 2 agents. Its count also includes anyone still in the queue who no longer has the Agent role.
- A reviewer you change to Member or Admin stays in their queues and keeps getting tickets, because those roles work tickets too, but they no longer appear in Manage agents: the list offers only people with the Agent role. The save button's count still includes them. Change them to Viewer and Flow takes them off every queue for you.
- Only people with the Agent role can be added to a queue or made a supervisor.
- On a paused queue's row, Open in HITL is unavailable and reads Open in HITL (resume the queue first), because the queue list on the HITL page shows active queues only. Runs started from the editor are refused while a review step names a paused queue; deployment runs are not.
- The default queue starts with no reviewers, so Get Next reaches its tickets only after you add some. Until then, reviewers claim them from the ticket list.