Scheduled Script Executions and Events Flashcards

1
Q

Which one of the following is NOT a true statement Scheduled Script Executions?
A. Automated server-side script logic
B. Execute at a specific time or on a recurring basis
C. Can be executed on demand
D. Executes once per month
E. Typically used for time-based application processes

A

D. Executes once per month

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
Which one of the following is NOT a frequency for the Run field of a Scheduled Script Execution?
A. Daily
B. Weekly
C. Monthly
D. Annually
E. Periodically
A

D. Annually

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following are true statements for Scheduled Script Execution scripts? More than one response may be correct.
A. Execute server-side
B. Do not have access to the current or previous objects
C. Variables in the Condition script field are not known in the Run this script field
D. If there is no Condition script, the Condition field returns false
E. The Condition script field must set the answer variable to true or false

A

A. Execute server-side
B. Do not have access to the current or previous objects
E. The Condition script field must set the answer variable to true or false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which one of the following correctly describes how a Scheduled Script Execution is configured to run on the last day of the month?
A. Create a daily Scheduled Script Execution and use the Condition Builder to select Last day of month
B. Create a daily Scheduled Script Execution and use the Condition Builder to create the condition 28 || 29 || 30 || 31
C. Create a monthly Scheduled Script Execution and set the Day to 31
D. Create a monthly Scheduled Script Execution and set the Day to 28
E. Scheduled Script Executions cannot be configured to run on the last day of the month

A

C. Create a monthly Scheduled Script Execution and set the Day to 31

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
Use the Today's Scheduled Jobs module to see which Scheduled Script Executions will execute today. Which one of the following is NOT a column in the Today's Scheduled Jobs list?
A. Name
B. Next action
C. Last action
D. Trigger type
E. State
A

C. Last action

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
Which of the following are steps in the generalized process for working with events? More than one response may be correct.
A. Add an event to the Event Registry
B. Write a Business Rule
C. Generate the event
D. Respond to the event
E. Create a Scheduled Script Execution
A

A. Add an event to the Event Registry
C. Generate the event
D. Respond to the event

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which one of the following best describes the Event Registry?
A. List of all events executed today
B. Used to generate events
C. The queue manager to determine order of event processing
D. Allows ServiceNow processes to recognize and respond to events
E. An event debugger

A

D. Allows ServiceNow processes to recognize and respond to events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following are ways to generate an event in ServiceNow? More than one response may be correct.
A. Create Event workflow activity
B. gs.eventQueueScheduled() method in a client-side script
C. gs.eventQueue() method in a client-side script
D. gs.eventQueueScheduled() method in a server-side script
E. gs.eventQueue() method in a server-side script

A

A. Create Event workflow activity
D. gs.eventQueueScheduled() method in a server-side script
E. gs.eventQueue() method in a server-side script

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
Which one of the following is NOT passed as a parameter to the gs.eventQueue() method when generating an event?
A, Event name
B. User
C. parm1
D. parm2
E. GlideRecord object
A

B. User

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of the following are true statements about the Event Log? More than one response may be correct.
A. Shows which events have been generated
B. Displays the runtime values of Parm1 and Parm2
C. Shows Processing duration in seconds
D. Allows developers to determine which queue processed the event
E. Shows which table the GlideRecord object passed to the event is part of

A

A. Shows which events have been generated
B. Displays the runtime values of Parm1 and Parm2
D. Allows developers to determine which queue processed the event
E. Shows which table the GlideRecord object passed to the event is part of

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
Which of the following are possible ways to respond to events? More than one response may be correct.
A. Email Notification
B. Business Rule
C. Scheduled Script Execution
D. Respond Event workflow activity
E. Script Action
A

A. Email Notification

E. Script Action

How well did you know this?
1
Not at all
2
3
4
5
Perfectly