SNOW-CAD Core Application Development Practice Question
A company has a requirement that the 'state' field of an incident cannot be changed from 'In Progress' to 'Resolved' if the 'category' field is empty. This validation must be enforced server-side to prevent data integrity issues. Which implementation should be used?
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
✓
Create a 'before' Business Rule that checks if the state is changing to 'Resolved' and if category is empty, aborts the update with an error message.
A 'before' Business Rule runs server-side and can check if the state is changing to 'Resolved' and if the category field is empty. Using gs.addErrorMessage() and returning false aborts the update, enforcing the validation server-side. Option A (Data Policy) would make category mandatory globally, not only during the specified state transition. Option B (ACL) controls field-level access but cannot validate value transitions. Option C (Client Script) runs client-side and can be bypassed.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Make the 'category' field mandatory using a Data Policy.
Why it's wrong here
Making category mandatory would enforce it on all states, not only for the transition.
- ✗
Configure an ACL on the 'state' field to deny write access when category is empty.
Why it's wrong here
ACLs control field-level access, not transition validation.
- ✗
Create a Client Script on 'state' change that checks if category is empty and shows an error message.
Why it's wrong here
Client-side validation can be bypassed by direct API calls or database updates.
- ✓
Create a 'before' Business Rule that checks if the state is changing to 'Resolved' and if category is empty, aborts the update with an error message.
Why this is correct
Before Business Rules can prevent updates by returning false and setting error messages.
Visual reference
Go deeper
Related to this question
About these practice questions
This SNOW-CAD question is part of Courseiva's 481-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.