Question 351 of 500
Core Application DevelopmentmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is that using direct assignment like current.u_assignee = null fails to clear the field, while current.setValue("u_assignee", "") works correctly. This is because ServiceNow’s platform requires setValue to properly mark a field for database persistence in business rules; direct assignment to null bypasses the update logic and the change is silently discarded. On the ServiceNow Certified Application Developer CAD exam, this tests your understanding of how business rules interact with the GlideRecord engine—a common trap is assuming JavaScript null assignment behaves like setValue, especially when clearing reference fields. The key distinction is that setValue triggers the field’s update flag, whereas direct assignment only modifies the in-memory object. Remember the mnemonic: “Set it to clear it”—always use setValue when you intend to persist a cleared field.

SNOW-CAD Core Application Development Practice Question

This SNOW-CAD practice question tests your understanding of core application development. Examine the command output carefully: the correct answer depends on what the output actually shows, not on general recall alone. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A ServiceNow instance has a custom application for managing IT assets. The application uses a custom table 'u_asset' with fields: u_asset_tag (string), u_model (string), u_assignee (reference to sys_user), u_status (choice: In Use, In Stock, Retired). The application requires that when an asset is retired, the assignee field must be cleared. The developer created a Business Rule on the 'u_asset' table that runs before update. The script checks if the status changes to 'Retired' and sets the assignee to empty. However, the assignee is not being cleared when the status is changed to 'Retired'. The Business Rule is active and runs before update. What is the most likely cause?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Question 1mediummultiple choice
Full question →

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 sets the field using 'current.u_assignee = null;' instead of 'current.setValue("u_assignee", "");'.

Option A is correct because in ServiceNow Business Rules, setting a field to null using direct assignment (e.g., current.u_assignee = null) does not trigger the platform's update logic; the change is not persisted to the database. The correct method is to use current.setValue('u_assignee', '') which properly marks the field for update and clears the reference.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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 sets the field using 'current.u_assignee = null;' instead of 'current.setValue("u_assignee", "");'.

    Why this is correct

    Setting a reference field to null directly may not work; setValue should be used.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The Business Rule is set to run after the record is saved, so changes are overwritten.

    Why it's wrong here

    Before update runs before save, so changes are persisted.

  • The condition 'current.u_status.changesTo("Retired")' is incorrect.

    Why it's wrong here

    The condition is correct for detecting status change.

  • The Business Rule runs after update instead of before update.

    Why it's wrong here

    The developer set it to before update, which should work.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume direct assignment works for all field types, but ServiceNow requires setValue() for proper update tracking, especially when clearing reference fields.

Detailed technical explanation

How to think about this question

In ServiceNow, direct assignment to a GlideRecord field (e.g., current.field = value) only modifies the in-memory object and does not queue the field for database update unless the field is a reference type with a sys_id. The setValue() method, however, internally marks the field as dirty and ensures the change is written during the update operation. This distinction is critical when clearing reference fields, as null assignment bypasses the update tracking mechanism.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the SNOW-CAD exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related SNOW-CAD practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SNOW-CAD practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SNOW-CAD question test?

Core Application Development — This question tests Core Application Development — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The script sets the field using 'current.u_assignee = null;' instead of 'current.setValue("u_assignee", "");'. — Option A is correct because in ServiceNow Business Rules, setting a field to null using direct assignment (e.g., current.u_assignee = null) does not trigger the platform's update logic; the change is not persisted to the database. The correct method is to use current.setValue('u_assignee', '') which properly marks the field for update and clears the reference.

What should I do if I get this SNOW-CAD question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More SNOW-CAD practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.