business-rule-patterns

Installation
SKILL.md

Business Rule Best Practices for ServiceNow

Business Rules are server-side scripts that execute when records are displayed, inserted, updated, or deleted.

When to Use Each Type

Type Timing Use Case Performance Impact
Before Before database write Validate, modify current record Low
After After database write Create related records, notifications Medium
Async Background (after commit) Heavy processing, integrations None (background)
Display When form loads Modify form display, set defaults Low

Available Objects

// In Business Rules, these are always available:
current // The record being operated on
previous // The record BEFORE changes (update/delete only)
Related skills
Installs
59
GitHub Stars
64
First Seen
Jan 22, 2026