SNOW-CSA Self-Service and Automation Practice Question
A ServiceNow administrator is configuring a Catalog Item to handle employee laptop requests. Which TWO of the following are valid methods to automatically populate a variable's value based on the requester's information? (Choose two.)
⚠ Common exam trap
Candidates often confuse Catalog Data Lookup Rules with Variable Default Values, thinking they can directly reference the requester's user record, but Data Lookup Rules require a reference field to trigger, while Variable Default Values can use GlideRecord to query sys_user 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
✓
Use a Catalog Client Script (onLoad) with g_form.setValue() to set the variable from the user's record.
A Catalog Client Script with an onLoad event can use the g_form.setValue() method to populate a variable from the requester's user record. This script runs before the form is rendered, allowing dynamic population of fields based on the current user's sys_user data. Option E is correct because a Variable Default Value can include a GlideRecord script that queries the sys_user table to set the variable's initial value based on the requester's information, such as their department or location.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use a Catalog Data Lookup Rule to reference the user's department.
Why it's wrong here
Catalog Data Lookup Rules map between catalog item and request variables, not user info.
- ✓
Use a Catalog Client Script (onLoad) with g_form.setValue() to set the variable from the user's record.
Why this is correct
Catalog Client Scripts can use g_form to set values on load based on requester info.
- ✗
Use a Flow Designer flow triggered on 'Request created' to update the variable after submission.
Why it's wrong here
Flow runs after submission, not pre-population.
- ✗
Use a Business Rule on the Catalog Item table to set the variable.
Why it's wrong here
Business Rules run on table operations, not on catalog item variables.
- ✓
Use a Variable Default Value with a GlideRecord script to query the sys_user table.
Why this is correct
Variable Default Value can execute GlideRecord to fetch requester details.
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.