CAD practice question 27 of 35

Which statement correctly describes the differences between a Client Script and a Business Rule?

Full set: 264 questions
Answer options
A: A Client Scrip! executes on the client and a Business Rule executes on the server Correct answer
B: A Client Script executes before a record is loaded and a Business Rule executes after a record is updated
C: A Client Script executes on the server and a Business Rule executes on the client
D: A Client Script executes before a record is loaded and a Business Rule executes after a record is loaded
Correct Answer:
A. A Client Scrip! executes on the client and a Business Rule executes on the server
Explanation

Client 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.

Why Incorrect

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.

References

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.

Scroll to Top