Summarize HR cases, service requests, and requested items for approvers with business justification, cost impact, approval history context, and policy compliance information
This skill generates approval-focused summaries for HR cases, service requests, and requested items. It provides approvers with the context they need to make informed decisions:
When to use: When approvers need concise, decision-ready summaries of pending approvals, or when building automated approval notification enrichment for HR and IT requests.
approver_user, , , or sn_hr_core.case_readeritiladmincom.sn_hr_service_delivery (HR Service Delivery), com.glideapp.servicecatalog (Service Catalog)sysapproval_approver, sn_hr_core_case, sc_req_item, sc_request, sn_hr_core_profileFetch the approval record to identify the source document and approval context.
MCP Approach:
Tool: SN-Query-Table
Parameters:
table_name: sysapproval_approver
query: approver=<user_sys_id>^state=requested^ORDERBYDESCsys_created_on
fields: sys_id,sysapproval,source_table,state,approver,group,sys_created_on,due_date,expected_start,comments
limit: 20
REST Approach:
GET /api/now/table/sysapproval_approver
?sysparm_query=approver=<user_sys_id>^state=requested^ORDERBYDESCsys_created_on
&sysparm_fields=sys_id,sysapproval,source_table,state,approver,group,sys_created_on,due_date,comments
&sysparm_display_value=true
&sysparm_limit=20
Based on the source_table, fetch the underlying request or case.
For HR Cases:
MCP Approach:
Tool: SN-Get-Record
Parameters:
table_name: sn_hr_core_case
sys_id: <sysapproval_value>
fields: sys_id,number,short_description,description,state,priority,opened_by,opened_at,subject_person,hr_service,assignment_group,u_business_justification,u_cost_estimate
For Requested Items (sc_req_item):
Tool: SN-Get-Record
Parameters:
table_name: sc_req_item
sys_id: <sysapproval_value>
fields: sys_id,number,short_description,description,cat_item,requested_for,price,recurring_price,quantity,variables,opened_at,opened_by,request,stage
REST Approach:
GET /api/now/table/sc_req_item/<sysapproval_value>
?sysparm_fields=sys_id,number,short_description,description,cat_item,requested_for,price,recurring_price,quantity
&sysparm_display_value=true
Pull justification from multiple sources: request variables, description fields, and journal entries.
From Catalog Variables:
MCP Approach:
Tool: SN-Query-Table
Parameters:
table_name: sc_item_option_mtom
query: request_item=<ritm_sys_id>
fields: sc_item_option.item_option_new.question_text,sc_item_option.value
limit: 50
From Journal/Comments:
Tool: SN-Query-Table
Parameters:
table_name: sys_journal_field
query: element_id=<source_sys_id>^element=comments^ORDERBYsys_created_on
fields: value,sys_created_on,sys_created_by
limit: 20
Aggregate costs from the request including one-time and recurring charges.
MCP Approach:
Tool: SN-Query-Table
Parameters:
table_name: sc_req_item
query: request=<request_sys_id>
fields: sys_id,number,cat_item,price,recurring_price,quantity
limit: 50
For detailed pricing:
Tool: SN-Query-Table
Parameters:
table_name: fx_price
query: id=<cat_item_sys_id>^active=true
fields: sys_id,amount,currency,type,recurring_frequency,duration
limit: 5
Calculate totals:
Retrieve the full approval chain including completed and pending approvals.
MCP Approach:
Tool: SN-Query-Table
Parameters:
table_name: sysapproval_approver
query: sysapproval=<source_sys_id>^ORDERBYsys_created_on
fields: sys_id,approver,state,sys_created_on,sys_updated_on,comments,group,expected_start,due_date
limit: 20
REST Approach:
GET /api/now/table/sysapproval_approver
?sysparm_query=sysapproval=<source_sys_id>^ORDERBYsys_created_on
&sysparm_fields=sys_id,approver,state,sys_created_on,sys_updated_on,comments,group
&sysparm_display_value=true
&sysparm_limit=20
Get the requester's HR profile and department information for context.
MCP Approach:
Tool: SN-Query-Table
Parameters:
table_name: sn_hr_core_profile
query: user=<opened_by_sys_id>
fields: sys_id,user,department,location,job_title,manager,cost_center,employment_type,hire_date
limit: 1
Identify if the requester or department has submitted similar requests recently.
MCP Approach:
Tool: SN-Query-Table
Parameters:
table_name: sc_req_item
query: requested_for=<requester_sys_id>^cat_item=<cat_item_sys_id>^sys_created_on>javascript:gs.daysAgo(365)
fields: number,stage,price,sys_created_on,closed_at
limit: 10
Check if the request falls within policy thresholds:
MCP Approach:
Tool: SN-Query-Table
Parameters:
table_name: sysapproval_rule
query: table=sc_req_item^active=true
fields: sys_id,name,description,condition,approval_type,order
limit: 10
Assemble all gathered information into a decision-ready format:
=== APPROVAL SUMMARY ===
Request: RITM0012345 - New Laptop Request
Submitted: 2025-12-01 14:30 by Jane Smith (Engineering)
Status: Awaiting Your Approval
--- Requester Profile ---
Name: Jane Smith
Title: Senior Software Engineer
Department: Engineering - Platform Team
Location: San Francisco, CA
Manager: Bob Johnson
Tenure: 3 years, 8 months
--- Business Justification ---
"Current laptop (2019 MacBook Pro) is experiencing frequent kernel panics
and battery failure. Unable to run local development environment with
current 8GB RAM. Requesting 16GB MacBook Pro for development workloads.
IT has confirmed current device is past end-of-life."
--- Cost Impact ---
One-Time Cost: $2,499.00
Monthly Recurring: $0.00
Annual Total Impact: $2,499.00
Department Budget Remaining: $45,200 (Q4)
Cost as % of Budget: 5.5%
--- Approval History ---
1. [APPROVED] 2025-12-01 15:00 - Direct Manager (Bob Johnson)
Comment: "Confirmed hardware issues. Approved."
2. [PENDING] 2025-12-02 -- Director Approval (You)
3. [WAITING] -- Finance Review (auto-triggered if > $2,000)
--- Risk Indicators ---
- Prior similar request: None in last 12 months
- Cost threshold: Exceeds $2,000 director approval threshold
- Policy compliance: Within hardware refresh policy (device > 3 years)
- Budget impact: Low (5.5% of remaining Q4 budget)
--- Recommendation Context ---
Similar requests in Engineering this quarter: 4 approved, 0 rejected
Average approval time: 1.2 business days
Optionally attach the summary as a work note on the approval or source record.
MCP Approach:
Tool: SN-Add-Work-Notes
Parameters:
table_name: sysapproval_approver
sys_id: <approval_sys_id>
work_notes: "[AI-Generated Approval Summary]\n<compiled summary>"
| Tool | Purpose | When to Use |
|---|---|---|
| SN-Query-Table | Fetch approvals, requests, profiles, history | Primary data gathering |
| SN-Get-Record | Retrieve single source record details | Detailed record inspection |
| SN-NL-Search | Find related requests or cases by description | Pattern matching for similar items |
| SN-Add-Work-Notes | Attach summary to approval record | Documentation and audit trail |
| Issue | Cause | Resolution |
|---|---|---|
| No approval records found | User has no pending approvals or wrong user sys_id | Verify approver sys_id matches the logged-in user |
| Variables not returned | MTOM query format incorrect | Use sc_item_option_mtom with proper dot-walking |
| Cost data missing | Catalog item has no price configured | Check sc_cat_item.price and fx_price table |
| Approval history incomplete | Some approvals use group instead of individual | Include group field and resolve group members |
| Journal entries empty | Comments stored in different element | Check both comments and work_notes elements |
| Profile not found | User lacks HR profile record | Fall back to sys_user table for basic information |
Input: "Summarize HR case HRC0010042 for the approver"
Steps: Retrieve case from sn_hr_core_case, pull employee profile, check approval chain, extract justification from case description and comments, calculate any cost impact from associated catalog items, compile summary.
Input: "Generate an approval summary for RITM0025001 which is a $15,000 server request"
Steps: Retrieve RITM details, extract all catalog variables including configuration specs, pull pricing details, build full approval chain (may include multiple levels for high-value items), check against procurement policies, flag budget impact, include vendor quotes if attached.
Input: "Show me all pending approvals with summaries for manager Bob Johnson"
Steps: Query all sysapproval_approver records where approver is Bob Johnson and state is requested, for each retrieve source record summary, aggregate total cost impact across all pending items, present as a prioritized list sorted by due date.
hrsd/case-summarization - General HR case summarizationcatalog/approval-workflows - Approval workflow configurationcatalog/request-fulfillment - Fulfillment process detailsreporting/sla-analysis - SLA status and breach analysisitsm/change-management - Change request approval patterns