OBLYTECH Logo
OBLYTECH Logo

ServiceNow Advanced Work Assignment: Queues, Rules, Capacity

Advanced Work Assignment routes work items to agents through five linked settings: a service channel, the queues under it, group priorities that rank those queues, assignment rules that pick the agent, and capacity limits. Start with the service channel, since every queue belongs to one, then set queues, group priority and rules, and finish with capacity.

Activate the plugin and confirm the service channel

Install the plugin from the Advanced Work Assignment home page under All. Skill handling on assignment rules works with the Skills Management feature, where you define skills for agents or groups. In the Brazil release, the plugins create base channels for cases, chats, incidents and walk-up. Asynchronous chat comes with the Conversational Messaging plugin, and WhatsApp comes with the Conversational Integration with WhatsApp (powered by Twilio) store application. A channel record alone routes nothing. You also need a queue, an assignment rule and an eligible assignment pool.

Default capacity is set per channel on the Service Channel form and applies to every agent on that channel until an override replaces it. Walk-up has its own setup steps.

Utilization

Utilization is the condition that identifies the work item states a channel supports, and each channel keeps its own count.

Create work item queues that hold routed work

A queue stores one type of work item for one channel. The form takes a name, the channel, an active flag, a schedule for when the queue is open, and an order number that sets where the queue’s routing condition is checked against other queues.

Target wait time is the estimate AWA uses for how long an agent has to accept a queued item, entered as a duration. Max Wait Time becomes available once the queue is linked to the chat channel, and the form requires a max wait time message whenever it is above zero. The initial agent response is the message a chat user sees when an agent accepts the chat.

Routing conditions

Routing conditions decide which items enter a queue. Simple mode uses the condition builder, and its fields depend on the channel. Advanced mode uses a JavaScript statement in the Script field, which must evaluate to true for an item to route. For chat, the builder reaches context variables by dot-walking through the related fields. If a pre-chat survey stores a department in a context variable, a billing question can route to a billing queue.

A queue can exist with no routing condition, in which case items reach it by hand or through tools such as matching rules or Workflow Studio. A manual assignment removes the item from the queue and sets its state to Canceled. New items may not be assigned when a queue already holds more than 10,000 queued items.

Eligibility, sort order and triggers

A queue assigns nothing on its own. Its eligibility list names the groups that may receive its items. Each entry has an assignment rule and a time constraint that decides when the next pool becomes eligible. One common arrangement lets one group take arriving items while a second group takes overflow after items have waited a set period. With an empty list, items route in but AWA does not assign them.

The Work Item Sort Order list orders queued items by a channel-table field, ascending or descending, before assignment. Queue triggers fire actions during a customer’s wait. A Wait trigger runs before Max Wait Time, and a Max Wait trigger runs once it is reached. A Max Wait message can offer a Virtual Agent topic, and a customer who picks one does not return to the live agent queue. Triggers offer a Virtual Agent topic, and the topic itself is set up separately, as explained in the Virtual Agent topic explainer. A Workflow Studio subflow needs a string input parameter named conversation_id to be detected.

Set group queue priority so queues compete in order

When a group joins a queue’s eligibility pools, AWA creates a group queue priority record with a default order of 100. A lower number means that group prefers that queue. Equal numbers mean the queues compete on equal terms. To change an order, open the group, select the Queues related list, double-click the order field and save. A child group inherits its parent’s roles, but its members do not join the parent, as set out in the assignment group explainer.

AWA assigns in tiers, and each round widens the pool by one tier. Take a chat queue and a higher-urgency P1 chat queue. An English group is set to 200 on chat and 100 on P1, and a Spanish group is set to 100 on chat. In the first round, P1 work goes to the English group and chat work goes to the Spanish group. In the second round, the English group takes remaining chat work if it has capacity. The tiers have a side effect: a group in an early tier can absorb more of a shared queue and leave less capacity for later rounds. Test the order with real agent counts first.

Write assignment rules that choose the agent

Assignment rules decide how AWA picks an agent once a queue releases an item. Creating or changing one requires the awa_admin or admin role. Related general behaviour is covered in the case routing and assignment rules explainer.

Assign by offers two options. Last Assigned routes the item to the agent who has gone the longest without being assigned work. Most Capacity gives it to the agent with the greatest free capacity.

Auto-assign and rejection handling

Auto-assign accepts the item on the agent’s behalf, so the agent cannot press Accept or Reject. Its display option chooses between an inbox card and a card plus workspace tab. With auto-assign off, you can allow rejections and turn on reassignment on timeout. The timeout is set in days, hours, minutes and seconds, and it sets the presence state the agent moves to afterwards: Available, Away or Offline. The timeout tab is unavailable while auto-assign is active.

Skill handling and skill determination

Enabling skills on a rule clears the Evaluate skill level and Enforce mandatory skills boxes, and you then choose one. Evaluate skill level ranks agents so the better-qualified take the item first. Enforce mandatory skills limits the pool to agents who hold the item’s required skills. The skills and routing explainer covers how these connect.

A skill determination rule tags a skill onto incoming records by reading a source table, a condition and a skill. For example, a case rule can read a field on the record’s opener and tag a skill when the value matches, so the case can reach agents who hold that skill, provided the assignment rule enforces mandatory skills.

Set agent capacity and presence so the rules have room

Capacity is set at four levels.

Level Scope Where you set it
Channel default Each agent on the channel The Service Channel form
Channel override Selected agents on one channel The Agent Capacity Override list on the channel
Group override Members of a group on one channel The Agent Capacity Override list on the group
Universal maximum One agent across all channels The universal capacity setting

Overrides apply to users holding an AWA role. The universal maximum caps total load across all channels.

Presence states show whether an agent can take work. The defaults are Available, Away, AI Available and Offline. The Available state needs its Active box selected, or AWA will not route to agents. Disable agent inactivity check stops AWA from setting an agent offline through inactivity, which means presence must then come through the AWA Agent API. Leave it clear unless that integration exists.

To verify, open Management, then Agent Presence & Capacity. The list shows each agent’s presence, channel, capacity in use and capacity.

External routing and affinity rules

External routing sends queue items to a third-party provider. It needs the External Routing Support plugin, which makes the external user role available. Each external queue names a provider, which defaults to the ServiceNow demo provider, a provider queue ID, the fields to send, and an application ID the provider uses for its requests. Mixing external and internal queues under one channel in an outbound payload setup triggers a warning, so keep them on separate channels.

Agent affinity rules send work to agents who already know the customer. Each rule picks one basis: history of work with the account or contact over up to 30 days, related tasks, or the agent named in account team responsibility.

Frequently asked questions

Why does a queue hold items without assigning them?

Its eligibility list has no groups. Items can route into the queue, but AWA does not assign them until a group is added.

Why are agents logged in but getting no work?

Check that the Available state is active, then check capacity. An agent at a channel override or the universal maximum receives nothing further until the load drops.

What happens if nobody accepts an assigned item?

With auto-assign off and reassignment on timeout on, the item moves to another agent after the timeout, and the original agent’s presence changes to the selected state. With auto-assign on, the timeout does not apply.

Can one agent be limited across all channels?

Yes. The universal maximum caps total load across all service channels, while channel defaults and overrides cap load on one channel.