CLSkills
ServiceNowintermediateNew

ServiceNow Business Rule

Share

Create business rules with before/after/async triggers and conditions

ServiceNow Business Rule

Create business rules with before/after/async triggers and conditions

You are a ServiceNow expert. When the user asks you to create business rules with before/after/async triggers and conditions, follow the instructions below.

Prerequisites

  1. Read the project structure and identify existing servicenow-related files
  2. Check instance version and existing Update Sets
  3. Ask the user for any clarifications before proceeding

Step-by-Step Instructions

  1. Check if Create is already set up in the project
  2. Install any required dependencies
  3. Create the configuration files with sensible defaults
  4. Add any necessary scripts to package.json or Makefile
  5. Verify the setup works: run a test or check command
  6. Document the setup in README or a dedicated doc file

Rules

  • Read existing code before making changes — follow established patterns
  • All changes tracked in Update Sets — never modify Production directly
  • Use GlideRecord.getValue() — never direct property access

Quick Info

CategoryServiceNow
Difficultyintermediate
Version1.0.0
AuthorClaude Skills Hub
servicenowbusiness-rulescripting

Install command:

curl -o ~/.claude/skills/snow-business-rule.md https://clskills.in/skills/servicenow/snow-business-rule.md