update-set-management
Skill41 starsChanged 6 days agoApache-2.0View on GitHub
Complete update set lifecycle management - creation, tracking, validation, and deployment
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Update sets are the foundation of ServiceNow configuration management.
- Distinctive: line 54
Create a descriptive update set following naming conventions.
- Distinctive: line 167
If records accidentally went to Default or wrong update set:
- Distinctive: line 197
When development is complete, mark as complete:
- Distinctive: line 221
Before exporting to higher environments:
- Distinctive: line 249
Commit the update set
- Distinctive: line 280
One Feature Per Update Set: Don't mix unrelated changes
- Distinctive: line 281
Descriptive Names: Follow naming conventions consistently
- Distinctive: line 283
Test Before Promoting: Always test in a lower environment first
- Distinctive: line 285
Never Edit in Production: Always develop in dev/test instances
- Distinctive: line 292
Solution: Always verify current update set before making changes:
- Distinctive: line 301
Check if record type is tracked (sys_update_set_source)
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Update Set Management
Overview
Update sets are the foundation of ServiceNow configuration management. This skill covers:
- Creating properly named update sets
- Setting the current update set for development
- Tracking what's captured in an update set
- Moving records between update sets
- Preparing update sets for deployment
- Validating update sets before migration
When to use: Whenever making configuration changes in ServiceNow development or test instances.
Prerequisites
- Roles:
adminorupdate_set_admin - Access: sys_update_set and sys_update_xml tables
- Environment: Development or test instance (never create update sets in production)
Procedure
Step 1: Create a New Update Set
Create a descriptive update set following naming conventions.
Naming Convention:
[PROJECT]-[TYPE]-[DESCRIPTION]-[VERSION]
Examples:
- PROJ123-FEAT-NewTicketForm-v1
- HR-FIX-OnboardingWorkflow-v2
- ITSM-ENH-IncidentAutoAssign-v1Using MCP:
Tool: SN-Create-Record
Parameters:
table_name: sys_update_set
data:
name: "PROJ123-FEAT-CustomerPortal-v1"
description: "New customer portal feature including:
- Custom catalog items
- Portal widgets
- Service catalog categories"
application: [app_sys_id] # For scoped apps
state: in progressUsing REST API:
POST /api/now/table/sys_update_set
Content-Type: application/json
{
"name": "PROJ123-FEAT-CustomerPortal-v1",
"description": "New customer portal feature...",
"state": "in progress"
}Step 2: Set as Current Update Set
Make your new update set active so changes are captured.
Using MCP (Automated!):
Tool: SN-Set-Update-Set
Parameters:
update_set_sys_id: [sys_id from step 1]Verification:
Tool: SN-Get-Current-Update-SetExpected response:
{
"name": "PROJ123-FEAT-CustomerPortal-v1",
"sys_id": "abc123...",
"state": "in progress"
}Step 3: Make Configuration Changes
Now make your configuration changes. All customizations will be captured:
Automatically Captured:
- UI Policies
- Business Rules
- Client Scripts
- Script Includes
- Forms and Lists
- ACLs
- Properties
- Scheduled Jobs
NOT Automatically Captured:
- Data records (use Data Preservers)
- User records
- Group memberships
- Some system properties
Step 4: Monitor Update Set Contents
Periodically check what's being captured.
Using MCP:
Tool: SN-Inspect-Update-Set
Parameters:
update_set_sys_id: [your_update_set_sys_id]Or query directly:
Tool: SN-Query-Table
Parameters:
table_name: sys_update_xml
query: update_set=[your_update_set_sys_id]
fields: name,type,action,sys_created_on
limit: 100Expected Output:
| Name | Type | Action | Created |
| My Business Rule | sys_script | INSERT | 2026-02-06 |
| Incident Form | sys_ui_policy | INSERT | 2026-02-06 |
Step 5: Handle Records in Wrong Update Set
If records accidentally went to Default or wrong update set:
Using MCP:
Tool: SN-Move-Records-To-Update-Set
Parameters:
source_update_set: Default # or sys_id
target_update_set: [your_update_set_sys_id]
query: sys_created_onONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()Manual Method:
Tool: SN-Query-Table
Parameters:
table_name: sys_update_xml
query: update_set=[wrong_set_sys_id]^sys_created_onONToday
fields: sys_id,name,type
# Then for each record:
Tool: SN-Update-Record
Parameters:
table_name: sys_update_xml
sys_id: [record_sys_id]
data:
update_set: [correct_update_set_sys_id]Step 6: Complete the Update Set
When development is complete, mark as complete:
Using MCP:
Tool: SN-Update-Record
Parameters:
table_name: sys_update_set
sys_id: [your_update_set_sys_id]
data:
state: complete
description: "COMPLETED: [original description]
Contains:
- 3 Business Rules
- 2 UI Policies
- 1 Script Include
- 5 Form modifications
Tested by: [tester name]
Test date: 2026-02-06"Step 7: Pre-Deployment Validation
Before exporting to higher environments:
Check for Issues:
Tool: SN-Query-Table
Parameters:
table_name: sys_update_xml
query: update_set=[sys_id]^type=sys_script^actionINinsert,update
fields: name,payloadValidation Checklist:
- No hardcoded sys_ids
- No hardcoded instance URLs
- No test data included
- All scripts have error handling
- No credentials in scripts
- Dependencies documented
Step 8: Export and Migrate
Export to XML: Navigate to the update set → Related Links → Export to XML
For Remote Instances:
- On target instance: System Update Sets → Retrieved Update Sets → Import from XML
- Preview the update set
- Review conflicts
- Commit the update set
Update Set States
┌─────────────┐ ┌──────────┐ ┌───────────┐
│ In Progress │────►│ Complete │────►│ Exported │
│ (build) │ │ (ready) │ │ (shipped) │
└─────────────┘ └──────────┘ └───────────┘
│
▼
┌──────────┐
│ Ignore │
│ (voided) │
└──────────┘Tool Usage Summary
| Operation | MCP Tool | REST Endpoint |
| Create | SN-Create-Record | POST /sys_update_set |
| Set Current | SN-Set-Update-Set | Custom API |
| Get Current | SN-Get-Current-Update-Set | GET /sys_user_preference |
| List | SN-List-Update-Sets | GET /sys_update_set |
| Inspect | SN-Inspect-Update-Set | GET /sys_update_xml |
| Move Records | SN-Move-Records-To-Update-Set | PATCH /sys_update_xml |
| Clone | SN-Clone-Update-Set | POST /sys_update_set |
Best Practices
- One Feature Per Update Set: Don't mix unrelated changes
- Descriptive Names: Follow naming conventions consistently
- Regular Commits: Complete update sets incrementally, not all at once
- Test Before Promoting: Always test in a lower environment first
- Document Dependencies: Note if other update sets must be applied first
- Never Edit in Production: Always develop in dev/test instances
Troubleshooting
Records Going to Default Update Set
Cause: Current update set not set or got reset Solution: Always verify current update set before making changes:
Tool: SN-Get-Current-Update-SetMissing Records in Update Set
Cause: Record type not tracked or created before setting update set Solution:
- Check if record type is tracked (sys_update_set_source)
- Manually add using "Add to Update Set" related link
Conflicts During Commit
Cause: Same record modified in multiple update sets Solution:
- Preview update set first
- Review conflicts carefully
- Choose to keep local or skip
- Document conflict resolution
Update Set Too Large
Cause: Too many changes in single update set Solution:
- Clone to new update set
- Split logically by feature
- Remove unnecessary records
Related Skills
admin/deployment-workflow- Full deployment processadmin/application-scope- Scoped application best practicesitsm/change-management- Change process for deployments
References
In this repository184 other files it gives its agents.
- happy-platform-skillsSkill
- application-scopeSkill
- batch-operationsSkill
- configuration-validationSkill
- deployment-workflowSkill
- generic-crud-operationsSkill
- instance-managementSkill
- schema-discoverySkill
- script-executionSkill
- script-syncSkill
- smart-assessmentSkill
- task-analysisSkill
- task-summarizationSkill
- user-provisioningSkill
- workflow-creationSkill
- workspace-insightsSkill
- approval-summarizationSkill
- approval-workflowsSkill
- catalog-builder-aiSkill
- catalog-item-generationSkill
- item-creationSkill
- multi-turn-orderingSkill
- request-fulfillmentSkill
- ui-policiesSkill
- variable-managementSkill
- ci-discoverySkill
- cmdb-search-analysisSkill
- data-qualitySkill
- impact-analysisSkill
- relationship-mappingSkill
- service-graph-diagnosisSkill
- activity-responseSkill
- csm-case-summarizationSkill
- chat-recommendationSkill
- email-recommendationSkill
- csm-kb-generationSkill
- resolution-notesSkill
- csm-sentiment-analysisSkill
- csm-sidebar-summarizationSkill
- csm-suggested-stepsSkill
- trending-topicsSkill
- automated-testingSkill
- business-rulesSkill
- client-scriptsSkill
- code-assistSkill
- code-reviewSkill
- data-importSkill
- debugging-techniquesSkill
- fluent-sdkSkill
- glide-api-referenceSkill
- mcp-server-installationSkill
- mcp-serverSkill
- notificationsSkill
- performance-optimizationSkill
- scheduled-jobsSkill
- scripted-rest-apisSkill
- script-includesSkill
- servicenow-docs-mcpSkill
- test-generationSkill
- ui-actionsSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

