Courseiva
UI, Navigation and FormsmediumMultiple ChoiceObjective-mapped

SNOW-CSA UI, Navigation and Forms Practice Question

Exhibit

// Business Rule (before query)
current.assignment_group.setDisplayValue('Help Desk');

Refer to the exhibit. A business rule has this script and is set to run on 'before insert' and 'before query'. When a user creates a new incident and sets the assignment_group to 'Network', after saving the assignment_group displays 'Help Desk'. What is the most likely cause?

⚠ Common exam trap

Many exam-takers assume the 'before insert' phase is the only one affecting the saved value, overlooking that 'before query' runs on retrieval and can change what the user sees after saving.

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 runs on 'before query' and overwrites the value when the record is retrieved

The script runs on 'before query', which executes when the record is retrieved from the database. Since the business rule is set to run on both 'before insert' and 'before query', the 'before query' phase overwrites the assignment_group value to 'Help Desk' after the user saves the record and it is retrieved for display. This explains why the user sees 'Help Desk' instead of 'Network' after saving.

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 runs on 'before query' and overwrites the value when the record is retrieved

    Why this is correct

    The 'before query' action runs every time the record is loaded, setting the assignment_group to 'Help Desk' regardless of saved value.

  • The script should use setValue instead of setDisplayValue

    Why it's wrong here

    Both methods can set the value; the issue is the operation phase.

  • The setDisplayValue method is incorrect for this field

    Why it's wrong here

    setDisplayValue works correctly for reference fields.

  • The script runs on 'before insert' and overwrites the user's selection

    Why it's wrong here

    On before insert, the script would overwrite before the save, but after save the display would show the overwritten value; however, the symptom shows it changes after save, suggesting a query-time overwrite.

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 →

How Courseiva writes practice questions · Editorial policy

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.