Servicenow Certified Application Developer CAD · Free Practice Question Easy
Question 17
When creating a Utilities Script Include. Identify the step that does not belong.
-
A
Identify the table
-
B
Create a class
-
C
Script the function(s)
-
D
Create a prototype object from the new class
Reveal correct answer
Correct answer: A
Explanation
Source: Developer
Correct answer:
Identify the table: This is the correct answer. When creating a Utilities Script Include in ServiceNow, you're typically creating utility functions that can be used across multiple scripts or areas of the platform. These utility functions are not tied to a specific table, so there's no need to identify a table as part of the process.
Think of a Utilities Script Include as a toolbox; the tools inside aren't tied to a specific project but can be used in various situations.
Incorrect answers:
Create a prototype object from the new class: This is a valid step when creating a Script Include, especially if you're creating object-oriented functions.
Create a class: This is also a valid step. In ServiceNow's server-side scripting, you often create classes in Script Includes to organize and encapsulate functionality.
Script the function(s): This is a crucial step. The main purpose of a Script Include is to define functions that can be reused in various parts of the platform.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
