Script Include Scope and Accessibility Across Scopes
Which THREE statements are correct about script includes and their usage across scopes? (Select THREE)
Quick Answer
This statement is correct because cross-scope access to a script include is not an all-or-nothing situation; ServiceNow gives you a dedicated 'Accessible from' property specifically to control which scopes are permitted to call a given script include, and that property can be set broadly to allow all application scopes or narrowed down to specific ones. This exists because script includes are isolated by scope by default, meaning a script include created inside one scoped application cannot normally be referenced or executed from a business rule, script, or other artifact living in a different scope unless something explicitly opens that door. Making a script include's scope Global is one well-known way to achieve broad cross-scope access, but the 'Accessible from' setting is the actual property governing that access, letting a developer be as permissive or as restrictive as the situation calls for rather than only choosing between fully isolated and fully global. Understanding this distinction matters because scope isolation exists to protect applications from unintended interference, so deliberately opening access should be a controlled decision rather than a default. When an exam question describes needing a script include to be usable from a different application scope, think in terms of which specific access-control setting governs that visibility, since ServiceNow typically offers a targeted property for this rather than requiring you to abandon scoping altogether.
⚠ Common exam trap
Many exam-takers confuse the 'public' access modifier from other programming languages with ServiceNow's 'Accessible from' property, leading them to select option B as correct.
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
✓
A script include can be accessed from a Business Rule in a different scope if the script include is defined as a global script include.
Script includes in ServiceNow are isolated by scope by default. To make a script include accessible from a business rule in a different scope, it must be defined as a global script include (i.e., its scope is set to 'Global'). This allows the script include to be referenced and executed from any scope without requiring the global scope prefix.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
A script include can be accessed from a Business Rule in a different scope if the script include is defined as a global script include.
Why this is correct
Global script includes are accessible.
- ✗
Script includes defined as 'public' can be accessed from any scope without restriction.
Why it's wrong here
Still requires 'Accessible from' setting.
- ✓
A script include must be marked as 'public' to be accessible from other scopes.
Why this is correct
Public allows cross-scope access.
- ✗
To call a script include from another scope, you must use the global scope prefix.
Why it's wrong here
No prefix needed if properly configured.
- ✓
The 'Accessible from' property can be set to 'All scopes' or specific scopes.
Why this is correct
Controls which scopes can access.
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 →
Same concept, more angles
1 more way this is tested on SNOW-CAD
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A developer wants to use a script include to reuse logic across multiple business rules. Which two considerations should be made? (Choose two.)
medium- A.Script includes cannot call other script includes.
- ✓ B.Script includes should not have side effects on current record.
- C.Script includes must be global to be accessible from all scopes.
- ✓ D.Script includes can be scoped and still accessible from business rules in the same scope.
- E.Script includes are automatically evaluated at server start.
Why B: Options B and D are correct. B: Script includes should not have side effects on current record to maintain reusability. D: Script includes can be scoped and still accessible from business rules in the same scope. A is incorrect because script includes can call other script includes. C is incorrect because script includes do not need to be global; they can be scoped. E is incorrect because they are not auto-evaluated.
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.