SNOW-CAD Practice Question: Automating application logic with business rules and scripts
A script include is defined as a public static function and is called from multiple business rules. After an upgrade, some business rules start failing with 'undefined' errors. What is the most likely cause?
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 include's function signature changed.
If the function signature changed (e.g., parameters or return type), existing calls to the script include would fail with 'undefined' errors. Option A would cause 'not found' errors, not undefined. Option B: ACLs do not affect server-side execution. Option D: scope change could cause access errors or 'not found', not typically 'undefined'.
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 include was made private.
Why it's wrong here
Would cause 'cannot access' error, not undefined.
- ✗
The script include's ACLs changed.
Why it's wrong here
ACLs do not affect server-side script execution.
- ✓
The script include's function signature changed.
Why this is correct
Function parameter count or name change leads to undefined errors on call.
- ✗
The script include's scope changed.
Why it's wrong here
Scope change causes access issues, not undefined.
Go deeper
Related to this question
About these practice questions
This SNOW-CAD question is part of Courseiva's 481-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
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.