SNOW-CSA Service Catalog and Workflows Practice Question
Which TWO of the following are true about catalog client scripts in ServiceNow?
⚠ Common exam trap
Watch out — candidates often confuse catalog client scripts with catalog UI policies: candidates often think client scripts can use GlideRecord (server-side) or run on the server, but ServiceNow enforces a strict client-server separation where client scripts cannot access server-side APIs directly.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
They can be triggered on load, onChange, or onSubmit.
Catalog client scripts can be triggered on three specific events: onLoad (when the form loads), onChange (when a field value changes), and onSubmit (when the form is submitted). These triggers allow dynamic client-side behavior such as field validation, auto-population, or conditional visibility without requiring a server round-trip.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
They use GlideRecord to query data.
Why it's wrong here
GlideRecord is server-side; client scripts use GlideAjax to call server-side scripts.
- ✗
They can run on both client and server.
Why it's wrong here
Catalog client scripts run only on the client side.
- ✗
They are defined per catalog item only.
Why it's wrong here
They can also be defined per variable (variable-level scripts).
- ✓
They can be triggered on load, onChange, or onSubmit.
Why this is correct
These are the standard trigger points for catalog client scripts.
- ✓
They can access the g_form API.
Why this is correct
g_form is the client-side API for manipulating form fields.
Go deeper
Related to this question
About these practice questions
One of 504 original SNOW-CSA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SNOW-CSA practice question is part of Courseiva's free ServiceNow certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SNOW-CSA exam.