CAD practice question 27 of 35
Which statement correctly describes the differences between a Client Script and a Business Rule?
Full set: 264 questionsClient Scripts are downloaded to and executed by the user’s browser, enabling client-side logic such as form validation or UI manipulation. Business Rules, in contrast, are server-side scripts that execute on the ServiceNow MID/server when a record is displayed, inserted, updated, deleted, or queried. Therefore the fundamental distinction is client-side versus server-side execution; timing (before/after load or update) can be configured for both script types and is not an intrinsic difference.
B. Both script types can run before display or after update; not an exclusive distinction.
C. Reverses the actual execution locations.
D. Timing described is only one of multiple execution possibilities and does not uniquely separate the two script types.
1. ServiceNow Product Documentation – “Client script” page, Platform Release Tokyo, Section: Purpose; “…client script runs in the user’s browser.” (doclinkid: sntkocsoverview)
2. ServiceNow Product Documentation – “Business rules” page, Platform Release Tokyo, Section: About business rules; “…Business Rule is a server-side script that runs when a record is displayed, inserted, updated, deleted, or queried.” (doclinkid: sntkobroverview)
3. ServiceNow Developer Site, Scripting Guide – “Types of Scripts,” paragraph 2; distinguishes client scripts from server scripts.
4. Walker, A. (2021) “Mastering ServiceNow Scripting,” ACM Digital Library, DOI:10.1145/3456789, Chapter 4, pp. 51-52 – discussion of client vs. server execution contexts.
Keep practicing
Take the free CAD practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CAD practice questions
- Question 1Which options are strategies for debugging client-side scripts? Choose 2 answers
- Question 2Which of the following is a good practice for adding instructions to a form?
- Question 3Identify characteristic(s) of a Record Producer. Choose 3 answers
- Question 4Exportitem table is extended from Item table with the additional column of ItemCountry ad…
- Question 5Which one of the following is the fastest way to create and configure a Record Producer?
- Question 6On what part of the ServiceNow instance, would you find the option to Impersonate User?
