ExamGecko
Question list
Search
Search

Question 40 - CAD discussion

Report
Export

Which one of the following is part of the client-side scripting API?

A.
workflow.scratchpad
Answers
A.
workflow.scratchpad
B.
GlideUser object (g_user)
Answers
B.
GlideUser object (g_user)
C.
current and previous objects
Answers
C.
current and previous objects
D.
GlideSystem object (gs)
Answers
D.
GlideSystem object (gs)
Suggested answer: B

Explanation:

https://developer.servicenow.com/dev.do#!/reference/api/rome/client

The GlideUser object (g_user) is part of the client-side scripting API that provides information about the current user and the user's preferences. It can be used in Client Scripts and UI Policies to customize the user interface based on the user's role, language, time zone, etc. The workflow.scratchpad object is only available in Workflow scripts, which are used to automate processes on the platform. The current and previous objects are only available in server-side scripts, such as Business Rules and Script Includes. The GlideSystem object (gs) is also a server-side object that provides methods for logging, debugging, date and time calculations, etc.

References:

[GlideUser object (g_user)]

[Workflow scripts]

[Business Rules]

Script Includes

[GlideSystem object (gs)]

asked 23/09/2024
ftere yagoglu
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first