/
/
Work your ServiceNow queue in the order that matters
For service desk leads who want a group's open incidents ranked by SLA, priority and age, by asking their AI assistant.
On this page
Connector
Connect ServiceNow, pick your AI tool and paste the prompt.
The problem
The ticket about to breach hidden in the queue
A group's queue mixes breached SLAs, critical incidents, old tickets on hold and incidents nobody owns. Sorting by one column hides the ticket about to breach, and unowned incidents sit untouched.
Without PopdockAI
- Sort the queue by priority
- Check SLAs ticket by ticket
- Skim past on hold tickets
- Leave unowned incidents untouched
With PopdockAI
- Open incidents and their SLAs are read together
- Breached and at risk come first, then priority and age
- Unowned incidents are flagged
- Read only, and a missing SLA is shown as no SLA
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Triage the open incidents assigned to `{assignment-group}`, considering up to `{max-incidents}` incidents (default 50), and recommend the order to work them in.
**Step 1: Pull the open incidents**
Call `servicenow-get-incident` with assignment-group `{assignment-group}` once for each open state: New, In Progress and On Hold. Set max-records to `{max-incidents}` (50 if blank). Ignore Resolved and Closed incidents.
**Step 2: Check the SLAs**
For each incident, call `servicenow-get-task-sla` with task set to the incident number and active true. Note has-breached, actual-elapsed-percentage and breach-time.
**Step 3: Rank**
Order the incidents by:
* breached SLAs first, then SLAs at 75 percent elapsed or more, soonest breach-time first
* then priority (1 - Critical before 2 - High before lower)
* then oldest opened date
* an On Hold incident drops below active work unless its SLA has breached
* an incident with no assigned-to is a finding in itself: flag it as unowned
**Step 4: Report**
A table: rank, number, priority, state, short-description, assigned-to (or UNOWNED), SLA status (Breached / At risk NN% / OK / No SLA), breach-time. Under it, three bullets: what to work first and why, which incidents need an owner, and any pattern (several incidents on the same configuration-item or with similar descriptions) worth raising as a problem.
**Rules & Guidelines:**
* This prompt is read-only. Do not call `servicenow-update-incident`, `servicenow-add-incident` or any other add- or update- tool.
* Do not invent SLA figures. An incident with no task SLA record is "No SLA", not "OK".
**Validation:**
* If the group returns no open incidents, say so and check the spelling of `{assignment-group}` against the assignment-group values seen on any incident.
* If more incidents exist than `{max-incidents}`, say the list was capped.Who it's for
One answer, three teams that use it
Service desk analysts
Pick the right ticket next
See breached and at risk incidents at the top of a ranked list.
Triage the open incidents for the Network group.
Team leads
Get unowned tickets picked up
Unowned incidents are flagged with three bullets on what to do first.
Which incidents in the Service Desk queue have no owner and are at risk?
Problem managers
Spot patterns in the queue
Triage notes any pattern worth raising as a problem.
Triage the top 50 open incidents for Application Support and tell me if there is a pattern.
How it works
What PopdockAI does when you ask
You name the group, and your AI assistant ranks its open incidents by SLA status, priority and age. Nothing is changed.
01
Ask
You name the assignment group and optionally how many incidents.
02
Read
It reads the open incidents and the SLA on each.
03
Rank
It ranks breached, then at risk, then by priority and age.
04
Report
You get a ranked table, unowned incidents flagged and three action bullets.
What PopdockAI provides
The tools behind the answer
Ready made tools for ServiceNow and one secure connection to your AI tool. No code, no exports.
servicenow-get-incident
servicenow-get-task-sla
This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.
The outcome
Work the queue in the order that protects SLAs
Related use cases
More ways to put this data to work
One prompt template with infinite possibilities.
Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.
Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

.webp)
