Which server-side API debug log method is available for scoped applications?
A.
gs.log()
B.
gs.print()
C.
gs.info()
D.
gs.debugLog()
The Answer Is:
C
This question includes an explanation.
Explanation:
In ServiceNow, the gs object provides a range of methods for logging messages on the server side. However, the availability of these methods can vary depending on whether the application is global or scoped.
gs.info(): This method is available in scoped applications and is used to log informational messages to the system log. It provides a way to record general information during script execution.
Options A (gs.log()), B (gs.print()), and D (gs.debugLog()) are not available in scoped applications. These methods are either restricted to global applications or do not exist in the ServiceNow API.
For more detailed information, refer to the official ServiceNow documentation on server-side scripting:
CAD PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 60% Discount on All Products,
Use Coupon: "8w52ceb345"