CSA · Question #210
Which type of scripts run in the browser?
The correct answer is D. UI Policies and Client Scripts. UI Policies and Client Scripts are the types of scripts in ServiceNow that execute on the client-side, directly within the user's web browser.
Question
Which type of scripts run in the browser?
Options
- AScript Include Scripts
- BAccess Control Scripts
- CBusiness Rule Scripts
- DUI Policies and Client Scripts
How the community answered
(34 responses)- A9% (3)
- B3% (1)
- C3% (1)
- D85% (29)
Why each option
UI Policies and Client Scripts are the types of scripts in ServiceNow that execute on the client-side, directly within the user's web browser.
Script Includes are server-side scripts that define reusable functions to be called by other server-side scripts.
Access Control Scripts are server-side scripts used within Access Control Lists (ACLs) to evaluate permissions for record access.
Business Rule Scripts are server-side scripts that execute on the ServiceNow server in response to database operations (insert, update, delete, query).
Client Scripts run in the user's browser, enabling real-time form validation and dynamic UI changes without server interaction. UI Policies also execute client-side to dynamically modify form fields (e.g., making them mandatory, hidden, or read-only) based on defined conditions, improving user experience by providing immediate feedback.
Concept tested: Client-side vs. Server-side scripting
Source: https://docs.servicenow.com/bundle/utah-platform-user-interface/page/use/platform-overview/concept/scripting.html
Topics
Community Discussion
No community discussion yet for this question.