CSA · Question #252
Which type of ServiceNow script runs on the web browser?
The correct answer is C. Client script. Client scripts are designed to execute on the client-side, within the user's web browser, to enhance user experience by performing actions like form validation or dynamic UI changes.
Question
Which type of ServiceNow script runs on the web browser?
Options
- AServer script
- BDatabase script
- CClient script
- DLocal script
How the community answered
(30 responses)- A3% (1)
- C93% (28)
- D3% (1)
Why each option
Client scripts are designed to execute on the client-side, within the user's web browser, to enhance user experience by performing actions like form validation or dynamic UI changes.
Server scripts (e.g., Business Rules, Script Includes) execute on the ServiceNow server.
'Database script' is not a standard ServiceNow script type; database operations are typically handled by server-side scripts.
Client scripts execute on the user's web browser (client-side), allowing for real-time interactions with forms, UI policies, and other client-side operations without round-trips to the server.
'Local script' is not a recognized ServiceNow script type; Client script is the correct term for browser-side execution.
Concept tested: Client-side scripting
Source: https://docs.servicenow.com/bundle/utah-platform-administration/page/administer/field-administration/concept/c_ClientScripts.html
Topics
Community Discussion
No community discussion yet for this question.