exam questions

Exam CAD All Questions

View all questions & answers for the CAD exam

Exam CAD topic 1 question 60 discussion

Actual exam question from ServiceNow's CAD
Question #: 60
Topic #: 1
[All CAD Questions]

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

  • A. GlideRecord and current
  • B. GlideUser and GlideRecord
  • C. GlideSystem and GlideRecord
  • D. GlideSystem and current
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Ashtan1985
Highly Voted 1 year, 8 months ago
Correct answer is C. You can only use server side scripting in Scheduled Jobs.
upvoted 7 times
...
aandooo
Most Recent 4 months ago
Selected Answer: C
there is no user nor current in scheduled job
upvoted 3 times
...
Alice_Steele
9 months, 2 weeks ago
Selected Answer: C
it has no access to current: https://developer.servicenow.com/dev.do#!/learn/learning-plans/tokyo/servicenow_administrator/app_store_learnv2_automatingapps_tokyo_scheduled_script_execution_scripts
upvoted 3 times
...
Mike49707
11 months ago
Selected Answer: C
C is correct - you don't have a user or current in a scheduled job
upvoted 2 times
...
kapshawn
11 months, 3 weeks ago
Selected Answer: C
C is correct
upvoted 2 times
...
Ghostrunner
12 months ago
Selected Answer: C
C is correct
upvoted 2 times
...
SNAngler
1 year ago
Selected Answer: C
C is correct
upvoted 2 times
...
Bajel
1 year, 4 months ago
Correct answer is C refer to https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_administrator/app_store_learnv2_automatingapps_quebec_scheduled_script_execution_scripts
upvoted 2 times
...
Bayoubeot
1 year, 4 months ago
Selected Answer: C
Correct answer is C the code examples in the book use the GlideRecord and GlideSystem
upvoted 3 times
...
ParagSanyashiv
1 year, 11 months ago
Selected Answer: D
Correct answer is D, as the gs object and current object can be directly used, for rest other you need to initialize the class into the object.
upvoted 2 times
sstest2
2 weeks, 1 day ago
D is incorrect. "Scheduled Script Executions are not associated with records and have no access to the previous or current objects used by many other server-side script types."
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago