正解:B
In ServiceNow, Business Rules are server-side scripts that execute when a record is created, updated, deleted, or queried. The "When" setting in a Business Rule determines when the rule runs in relation to database operations.
The Four Timing Options for Business Rules:
Before
✅ Executes before a record is inserted, updated, or deleted.
Used for validations, data modifications, and setting field values before saving.
After
✅ Executes after a record has been committed to the database.
Used for triggering notifications, writing logs, or updating related records.
Async (Asynchronous)
✅ Executes after a short delay, allowing the main transaction to complete first.
Used for long-running processes like API calls, email sending, or external system updates.
Display
✅ Executes before the record is sent to the client (UI).
Used to populate g_scratchpad for client-side scripts.
Example Use Cases for Business Rule Timings:
Business Rule Timing
When It Runs
Use Case
Before
Before saving to the database
Validate data, auto-populate fields
After
After saving to the database
Send notifications, update related records
Async
Shortly after the transaction completes
Call an external API, send an email
Display
Before the form loads
Pass server data to client-side scripts (g_scratchpad)
Incorrect Answer Choices Analysis:
A . Insert, Update, Delete, Query
❌ Incorrect - These are database operations, not the execution timing options for Business Rules.
C . Prior to, Synchronous, on Update
❌ Incorrect - These terms do not match the standard ServiceNow Business Rule timing settings.
D . Before, Synchronous, Scheduled Job, View
❌ Incorrect - "Scheduled Job" is not a Business Rule timing option (it is part of Scheduled Script Executions).
Official ServiceNow Documentation Reference:
ServiceNow Docs - Business Rules Overview
📖 Understanding Business Rules
ServiceNow Docs - Best Practices for Business Rules
📖 Best Practices for Business Rules