SNOW-CSA UI, Navigation and Forms Practice Question
A UI Policy is intended to make a field mandatory when another field equals 'Yes', but the mandatory condition is not working. What is a common cause?
⚠ Common exam trap
Many exam-takers assume a UI Policy with a syntax error will show an error message or that the 'Run script' option (Option C) is the culprit, but in reality, the condition script executes first and a syntax error prevents the entire policy from applying, including mandatory actions.
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
✓
Condition script has syntax error
A syntax error in the condition script will cause the UI Policy to fail silently. When the script encounters an error (e.g., a missing semicolon, undefined variable, or incorrect operator), the entire condition evaluates to false, so the mandatory field action never triggers. UI Policies execute client-side in the browser, and syntax errors prevent the script from running at all, making the mandatory condition appear non-functional.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
UI Policy order is too high
Why it's wrong here
Order affects execution priority but would not prevent the policy from running altogether.
- ✗
Field type is not string
Why it's wrong here
Field type is irrelevant; UI Policies can work with any field type.
- ✗
UI Policy is set to 'Run script' only
Why it's wrong here
If set to script only, it would run the script but not apply UI actions like mandatory; however, the question states mandatory is not working, which could be due to this, but a syntax error is a more common root cause.
- ✓
Condition script has syntax error
Why this is correct
A syntax error will break the condition evaluation, preventing the UI Policy from applying its actions.
Go deeper
Related to this question
About these practice questions
Courseiva writes every SNOW-CSA question from scratch — 504 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-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.