SNOW-CAD Practice Question: Application development using ServiceNow Studio
A developer is designing a UI Policy that should run client-side but references a complex server-side calculation. Which approach is best?
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
✓
Use a client script with GlideAjax.
The correct approach is to use a client script with GlideAjax (Option B) because UI Policies run client-side and cannot directly perform complex server-side calculations. GlideAjax allows asynchronous calls to a server-side script include, enabling the client script to retrieve the result of a complex server-side calculation without a page refresh. Option A is incorrect because Business Rules run server-side and cannot be called directly from a UI Policy; they are triggered by database operations. Option C is incorrect because UI Macros are used for reusable UI components, not for server-side logic. Option D is incorrect because UI Policy condition strings are limited to simple client-side expressions and cannot execute complex server-side calculations.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Create a Business Rule and call it from UI Policy.
Why it's wrong here
Incorrect. Business Rules run on server, not directly callable from UI Policy.
- ✓
Use a client script with GlideAjax.
Why this is correct
Correct. GlideAjax enables server-side calls from client scripts.
- ✗
Use a UI Macro.
Why it's wrong here
Incorrect. UI Macros are for UI components, not server-side logic.
- ✗
Use a UI Policy condition string.
Why it's wrong here
Incorrect. Condition strings are for simple evaluations.
Go deeper
Related to this question
About these practice questions
Courseiva writes every SNOW-CAD question from scratch — 481 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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-CAD 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-CAD exam.