Courseiva

SNOW-CAD Practice Question: Automating application logic with business rules and scripts

A ServiceNow instance has a business rule that runs on after query on the Incident table. The rule adds a condition to the query to filter out incidents with state = 'Closed'. Recently, an update set containing a new business rule was installed, and now the filter is not applied. What might have caused this?

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 new business rule uses query.setCondition() to set the query condition, replacing the existing condition

The new business rule likely uses query.setCondition() which replaces any existing conditions, including the filter from the existing rule. Option A is less likely because order determines execution sequence, but setCondition replaces. Option B is incorrect. Option D is irrelevant.

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 new business rule has a higher order than the existing rule

    Why it's wrong here

    Order only affects sequence, not whether conditions are replaced.

  • The existing business rule is set to run only on insert

    Why it's wrong here

    The existing rule runs on after query, so it should apply to queries.

  • The new business rule uses query.setCondition() to set the query condition, replacing the existing condition

    Why this is correct

    setCondition() overwrites any previous conditions.

  • The new business rule uses glide.addNullQuery

    Why it's wrong here

    addNullQuery is not a standard method.

About these practice questions

Courseiva writes every SNOW-CAD question from scratch — 481 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-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.