CSA practice question 8 of 35
Which type of scripts run in the browser?
Full set: 500 questionsIn ServiceNow, scripts are categorized as either client-side or server-side. Client-side scripts execute within the user's web browser and are primarily used to manage the user interface and user experience. Both UI Policies and Client Scripts are client-side mechanisms. UI Policies dynamically change form information or field attributes, while Client Scripts execute on user actions like form loading, changes, or submissions. Both operate directly within the browser to provide a responsive user experience without needing to communicate with the server for every change.
B. Access Control Scripts: These are server-side scripts that run to enforce security and determine a user's permissions to access data before it is sent to the browser.
C. Script Include Scripts: These are reusable libraries of code that execute on the server. They can be called by other server-side scripts or by client-side scripts via GlideAjax, but the execution happens on the server.
D. Business Rule Scripts: These are server-side scripts that execute when records are queried, inserted, updated, or deleted on the server's database.
1. ServiceNow Product Documentation: Client-side scripting. This document explicitly lists UI Policies and Client Scripts as the primary types of scripts that run on the client (browser). It states, "Client-side scripts run on the web browser. You can use client-side scripts to manage the user interface (UI) and user experience (UX)."
2. ServiceNow Product Documentation: Server-side scripts. This document contrasts with client-side scripting and lists Business Rules, Access Controls (ACLs), and Script Includes as scripts that "run on the ServiceNow server or database."
3. ServiceNow Developer Site: ServiceNow Fundamentals Learning Path, Client-Side Scripting Module. This training module details how Client Scripts and UI Policies are used to create the user experience in the browser. It specifies their execution context as the client.
4. ServiceNow Developer Site: ServiceNow Fundamentals Learning Path, Server-Side Scripting Module. This module explains that Business Rules, Script Includes, and Access Controls execute on the server to interact with the database and enforce logic before data is returned to the user's browser.
Keep practicing
Take the free CSA practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CSA practice questions
- Question 1What table acts as a staging area for records imported from a data source?
- Question 2Which one of the following is NOT a type of Visual Task Board?
- Question 3A customer has asked for the following updates to a form: * Make Resolution code mandator…
- Question 4What are the components that make up a filer condition? Choose 3 answers
- Question 5On a Form header, what is the three bar icon called?
- Question 6When searching using the App Navigator search field, what can be returned? (Choose four.)
