Courseiva

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

A developer creates a business rule on the Incident table that executes a GlideRecord query to update related records. The rule runs on 'after' update and queries the Problem table to set a field. However, the update is not being committed. What is the most likely reason?

⚠ Common exam trap

Test-takers frequently assume GlideRecord updates are automatically committed in any context, but ServiceNow requires explicit update calls in 'after' business rules for cross-table modifications, unlike 'before' rules where changes to the current record are auto-saved.

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 GlideRecord query requires an explicit gr.updateMultiple() or gr.commit() to persist changes.

In ServiceNow, when a GlideRecord query is used in an 'after' business rule to update records on another table, the changes are not automatically committed. The developer must explicitly call gr.updateMultiple() to persist updates to multiple records, or gr.update() for a single record. Option B correctly identifies this requirement, as the update is not being committed without an explicit method call.

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 developer forgot to use gr.insert() instead of gr.update().

    Why it's wrong here

    gr.update() is correct for updating existing records.

  • The GlideRecord query requires an explicit gr.updateMultiple() or gr.commit() to persist changes.

    Why this is correct

    When updating multiple records, gr.updateMultiple() is needed to commit all changes at once.

  • After business rules cannot update other tables.

    Why it's wrong here

    After rules can update any table using GlideRecord.

  • The query returns more than 100 records, causing a governor limit.

    Why it's wrong here

    There is no hard limit of 100 records; governor limits are higher.

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.