Scheduled Script Executions and Events Flashcards
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
D. Executes once per month
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
D. Annually
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. 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
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
C. Create a monthly Scheduled Script Execution and set the Day to 31
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
C. Last action
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. Add an event to the Event Registry
C. Generate the event
D. Respond to the event
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
D. Allows ServiceNow processes to recognize and respond to events
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. Create Event workflow activity
D. gs.eventQueueScheduled() method in a server-side script
E. gs.eventQueue() method in a server-side script
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
B. User
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. 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
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. Email Notification
E. Script Action