Question 44 of 510
Service Catalog and WorkflowshardMultiple ChoiceObjective-mapped

Quick Answer

The answer is that the variable’s 'Display' property is set to 'Static' or 'Read only'. This is correct because when a variable’s display property is locked to 'Static' or 'Read only', the platform’s UI policy layer overrides any client-side attempt to change visibility, so a catalog client script using `g_form.setDisplay()` to hide the variable will fail. On the ServiceNow CSA exam, this scenario tests your understanding of the hierarchy between client scripts and variable display properties—a common trap is assuming that an onChange script can always control visibility, but the display property takes precedence. To remember this, think of the display property as a “hard lock” that client scripts cannot break; if the variable is set to 'Static', it stays visible regardless of script logic.

SNOW-CSA Service Catalog and Workflows Practice Question

This SNOW-CSA practice question tests your understanding of service catalog and workflows. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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 catalog item uses a 'Catalog Client Script' to hide a variable when another variable is set to 'No'. However, the script is not working. The script is of type 'onChange' and the variable to hide is a 'Single Line Text'. 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 1hardmultiple 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 variable's 'Display' property is set to 'Static' or 'Read only'.

Option D is correct because when a variable's 'Display' property is set to 'Static' or 'Read only', the client-side script cannot override that setting via `g_form.setDisplay()`. The catalog client script runs on the client, but the variable's display behavior is enforced by the platform's UI policy layer, which takes precedence over client script calls. This is a common misconfiguration where the variable's display property is locked, preventing the onChange script from hiding it.

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 variable type 'Single Line Text' does not support hiding.

    Why it's wrong here

    Any variable type can be hidden via script.

  • The script is missing a 'g_form.setDisplay()' call.

    Why it's wrong here

    This is a common cause, but the question asks most likely; Display property is often overlooked.

  • The script should be of type 'onSubmit' instead of 'onChange'.

    Why it's wrong here

    onChange is appropriate for reacting to value changes.

  • The variable's 'Display' property is set to 'Static' or 'Read only'.

    Why this is correct

    If Display is static, client scripts cannot hide it.

    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.

Common exam traps

Common exam trap: answer the scenario, not the keyword

ServiceNow often tests the misconception that a missing `g_form.setDisplay()` call is the root cause, when in reality the variable's display property is locked by a UI policy or the variable's own configuration, which silently overrides the client script.

Detailed technical explanation

How to think about this question

Under the hood, ServiceNow's UI policies and client scripts both manipulate the `g_form` object, but UI policies execute after client scripts and have higher priority for display properties. When a variable's 'Display' property is set to 'Static' or 'Read only', the platform generates a UI policy that forces the variable to remain visible or read-only, overriding any `g_form.setDisplay()` call from a client script. This is a subtle but critical behavior: client scripts cannot override UI policies for display, though they can for other properties like mandatory or visibility via `setVisible()` (which is distinct from `setDisplay()`).

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-CSA 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-CSA 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-CSA 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-CSA question test?

Service Catalog and Workflows — This question tests Service Catalog and Workflows — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The variable's 'Display' property is set to 'Static' or 'Read only'. — Option D is correct because when a variable's 'Display' property is set to 'Static' or 'Read only', the client-side script cannot override that setting via `g_form.setDisplay()`. The catalog client script runs on the client, but the variable's display behavior is enforced by the platform's UI policy layer, which takes precedence over client script calls. This is a common misconfiguration where the variable's display property is locked, preventing the onChange script from hiding it.

What should I do if I get this SNOW-CSA 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-CSA practice questions

Last reviewed: Jun 30, 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-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.