AgentSkillsCN

servicenow-deployment

通过 Update Sets 安全部署 ServiceNow 配置变更,合理命名、采用父子批次处理,并在预览阶段进行验证。当您需要管理版本发布、在不同实例间迁移,或通过多个 Update Set 协调复杂的部署时,可使用此技能。

SKILL.md
--- frontmatter
name: servicenow-deployment
description: Deploy ServiceNow configuration changes safely using Update Sets with proper naming, parent/child batching, and preview validation. Use when managing releases, migrating between instances, or orchestrating complex deployments with multiple Update Sets.

ServiceNow Deployment

Quick start

Update Set naming convention:

code
[App Name] - [Story ID] - [Brief Description]

Example:
ITIL - STORY-1234 - Add approval routing for high-priority incidents

Batching strategy (parent/child pattern):

code
Parent Update Set (orchestrates order)
├── Child Update Set 1 (dependencies)
├── Child Update Set 2 (main logic)
└── Child Update Set 3 (cleanup)

Deployment process

  1. Capture phase: Select only objects needed; use filters to exclude system changes
  2. Preview phase: Resolve all errors:
    • Accept Remote: Keep target system changes
    • Skip: Ignore conflicting source changes
  3. Commit phase: Only after preview succeeds
  4. Verify phase: Test functionality on target instance

Critical rules

RuleReason
Use Parent/Child batchesMaintains deployment order; enables rollback
Never merge setsDestructive; loses change history
Preview before commitCatches conflicts early
Unique namingEnables audit trail and troubleshooting

Best practices

  • Keep Update Sets focused (one feature per set)
  • Document customizations in the Description field
  • Test on sub-production before production
  • Create parent sets for new applications
  • Version track all custom objects
  • Backup production before large deployments

Reference

For capture lists, what moves vs what stays, and batching patterns, see BEST_PRACTICES.md