ExamGecko
Question list
Search
Search

Question 60 - CAD discussion

Report
Export

Which objects can you use in a Scheduled Script Execution (Scheduled Job) script?

A.
GlideRecord and current
Answers
A.
GlideRecord and current
B.
GlideUser and GlideRecord
Answers
B.
GlideUser and GlideRecord
C.
GlideSystem and GlideRecord
Answers
C.
GlideSystem and GlideRecord
D.
GlideSystem and current
Answers
D.
GlideSystem and current
Suggested answer: C

Explanation:

https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_administrator/app_store_learnv2_automatingapps_quebec_scheduled_script_execution_scripts

The objects that you can use in a Scheduled Script Execution (Scheduled Job) script are GlideSystem and GlideRecord. GlideSystem provides methods for performing system operations, such as logging, running background scripts, or getting system information. GlideRecord provides methods for working with records in the database, such as querying, updating, inserting, or deleting records. The current object is not available in Scheduled Script Execution scripts, as it refers to the current record on a form or list. The GlideUser object is also not available, as it refers to the current user session.

Reference:Scheduled Script Execution,GlideSystem,GlideRecord

asked 23/09/2024
Firew Abebe
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first