SNOW-CSA Reporting, SLA and Imports Practice Question
During an import, a transform field mapping uses a script to generate a value. The script runs but the target field is empty. What is the first thing to check?
⚠ Common exam trap
It's easy for candidates to assume the script 'running' means it is correctly producing output, but ServiceNow requires an explicit return value for the mapping to populate the field, and the exam tests this distinction between execution and output.
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 script returns a value.
The most common reason a script runs but the target field remains empty is that the script does not return a value. In ServiceNow transform maps, the script must explicitly use the `return` statement to output a value that will be written to the target field. If the script executes but lacks a return, or returns null/undefined, the field will be empty regardless of other correct configurations.
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 returns a value.
Why this is correct
If the script does not return a value, the target field remains empty.
- ✗
The field mapping's 'Field name' is correct.
Why it's wrong here
If the field name were wrong, the error would be different.
- ✗
The script is in the correct script include.
Why it's wrong here
Scripts in field mappings are often inline, not in script includes.
- ✗
The staging table has the field.
Why it's wrong here
The staging table field is used for input, not output.
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.