SNOW-CAD Practice Question: Application development using ServiceNow Studio
Exhibit
Refer to the exhibit. Configuration of a business rule in a scoped application: Name: Set Default Assignment Table: x_myapp_task When: before Order: 100 Condition: current.state == 0 Script: current.assigned_to = gs.getUserID(); current.assignment_group = '3a4b5c6d7e8f9a0b1c2d3e4f';
A developer notices that the business rule does not set the assignment group as expected when a new record is created with state 0. What is the most likely issue?
⚠ Common exam trap
ServiceNow often tests the misconception that any string value can be assigned to a reference field, but in ServiceNow, reference fields require a valid sys_id or a display value that matches an existing record.
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
✓
The assignment_group value is not a valid sys_id of a group.
The most likely issue is that the assignment_group value provided in the script is not a valid sys_id of an existing group. In ServiceNow, the assignment_group field is a reference field to the sys_user_group table, and it must contain a valid sys_id. If the sys_id is invalid or does not exist, the field will not be set, and the business rule will appear to have no effect.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The script has a syntax error.
Why it's wrong here
The script appears syntactically correct.
- ✓
The assignment_group value is not a valid sys_id of a group.
Why this is correct
The hardcoded sys_id might not correspond to an existing group.
- ✗
The business rule runs after the record is saved, so updates are ignored.
Why it's wrong here
A 'before' business rule runs before save, so updates are applied.
- ✗
The business rule condition is incorrect.
Why it's wrong here
The condition is valid for state 0.
Go deeper
Related to this question
About these practice questions
One of 481 original SNOW-CAD 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-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.