CSA · Question #461
Which script can run when a record is displayed, inserted, updated, deleted, or when a table is queried?
The correct answer is A. Business Rule. Business Rules are server-side scripts that can be configured to execute on any of the following database operations: display (before a record is shown), insert, update, delete, or query. This makes them the most flexible server-side scripting tool in ServiceNow. Client Scripts…
Question
Which script can run when a record is displayed, inserted, updated, deleted, or when a table is queried?
Options
- ABusiness Rule
- BClient Script
- CRecord Rule
- DUI Script
- EScheduled Job
How the community answered
(24 responses)- A92% (22)
- B4% (1)
- D4% (1)
Explanation
Business Rules are server-side scripts that can be configured to execute on any of the following database operations: display (before a record is shown), insert, update, delete, or query. This makes them the most flexible server-side scripting tool in ServiceNow. Client Scripts run only in the browser during UI interactions, UI Scripts are reusable JavaScript libraries for the client, and Scheduled Jobs run on a time-based schedule - none of these cover all five trigger conditions that Business Rules support.
Topics
Community Discussion
No community discussion yet for this question.