Module 6.1-6.3 Flashcards
Intuitive interface for creating automated business processes
Flow designer
Flow trigger
Flow actions
Executions
Data panel
4 parts of flow designer
Statement to determine when or how an action runs
Condition
Operation executed by the system. Can be reusable.
Action
Any data gathered or generated by variables is available here. Each variable has its own pill. The pill can be dragged and dropped on an action input or output.
Data panel
An activity that initiates the flow. May be record based or time based.
Trigger
Flow designer creates ______ each time a flow is triggered
An event
Automated sequence of events
A flow
What are the three types of workflow triggers?
Application, record, and scheduled
What are the two ‘application’ triggers?
Metric based and service catalog
What are the options for record triggers?
Created, updated and created or updated
What are examples of scheduled triggers?
Daily, weekly, monthly, run once, and repeat
How do you verify that a flow ran properly while doing a test run?
The flow execution details
Where can you run test so the flow record changes do not interfere with production data?
A non production instance
During a flow test, what does the test run generate?
Execution records, log messages, and reports
A related record containing the current state and runtime values of the flow
The flow context
When should you use flow designer?
Running on Kingston or newer?
Is your trigger a CRUD table or operation or schedule?
Are all the steps in the flow designer?
Does your logic include if then or a linear flow?
What are actions made out of??
Inputs, steps, and outputs
The values passed into the action
Inputs
Sequential units of application logic within the action
Steps
Data resulting from the finished action, and it can be used to pass data to actions in the same flow
Outputs
Does flow designer support subflows?
Yes
Integration between flow designer and 3rd party systems
Integration hub
Integration hub requires what plugin?
com.glide.hub.integrations
Allows low code to no code integration capabilities with 3rd party applications. It allow developers to encapsulate integration actions into reusable components that do not require coding to implement
Integration hub
When are spokes activated?
When the parent application is activated
Scoped application containing flow designer content for an application or record type. Bundled set of related actions.
Spoke
Where do you set application values?
Application properties page
Can you create properties for reference fields?
No
Who can edit application property values?
Only application administrators
What is the process for creating application properties?
- Create a system property category
- Add properties
- Order properties
- Create properties module
Where does the system property category name appear?
In the url for the properties page
What appears at the top of the application properties page?
The title field value
What can you use in the title for the application properties page?
HTML, graphics, and links
Properties appear on the properties configuration form in what order?
Lowest to highest
How do you edit applications property order value?
Double click the order column for the property
Entered the desired value in the field
Save
What indicates a space in the arguments field when creating a property module?
%20
If a separator module does not have a title, what appears in the application navigator rather than the title text?
A line
Automated piece of logic which executes at a specific time and/ or on a recurring basis
Scheduled script execution
Overdue request, all requests from a particular user, and records with a state value such as resolved for too long are all examples of what?
Periodic database queries
Set the state value to closed complete after a fixed time has elapsed
Assign unassigned records to a user
Delete all records by a user
are all examples of what?
Periodic record modifications
Scheduled script executions are never taken by users or by modifications to records
True
When configuring a schedule based trigger what clock is used?
The 24 hour clock
Time options change based on what field?
The run field (date/day/time)
Scheduled Jobs execute on what time?
Server time
Where do you go to get the systems server time?
System diagnostics> stats
What does the run field select on the scheduled execution form?
The periodicity
Where does scheduled execution script run?
Server side
Do scheduled jobs use current or previous object?
Neither
Scheduled script queries the database looking for claims records that have been in the awaiting feedback stage for how many days?
3 or more
Scheduled execution script writes a log message for any record meeting the criteria, where?
In system logs> system logs> script log statements
Do you have to wait to test scheduled scripts?
No select the execute now button to test
When can you use the execute now button while testing a scheduled script?
After the scheduled script execution is saved
Is it advised to make changes to the schedule list?
No
Jobs in this state are waiting for the scheduler thread to pick them up and execute them
The ready state
In the schedule jobs table, if the ready text appears in red what does that mean?
The scheduled job is overdue for execution
What does it mean to be an overdue scheduled job?
The next action date and time has passed
When do overdue scheduled jobs typically execute?
After their next action time
When are overdue scheduled jobs a cause for concern?
When there is a large time difference between the current time and the next action date and time
If events aren’t actions, what are they?
An entry into an event queue
What must be written to respond to entries in the event queue and take action?
Logic
Although any server side logic can generate an event queue it is mostly done with these 2?
Business rules and workflow scripts
An indication that something has happened
Event
A table of events that can be called and responded to
The event registry
Although servicenow can call any event, if this doesn’t happen, no response will occur
If it isn’t registered
Unless otherwise specified, all user created events appear where?
In the default queue
What are the 3 steps for working with events?
- Add event to registry
- Generate event
- Create logic to respond to event
Servicenow can only respond to events that are ________?
Registered
Registration means that the servicenow processes are able to recognize and react to events (t/f)
True
Documents an events purpose. Be sure to make it meaningful for future reference. If you alter the meaning for the event, update this field.
Description
If this is left blank an event goes to the default queue
User defined event processing queue
List of workflows and scripts calling this event. This is used for troubleshooting only and not for event processing
Fired by
Are event names created automatically?
Yes
Name of event in registry
event_name
Workflow activity for generating an event. There is an optional parameter (parm1) used to pass a string. If you don’t need to pass this parameter the convention is to pass
gs.getUserID()
Workflow activity for generating an event. There is an optional parameter (parm2) used to pass a string. If you don’t need to pass this parameter the convention is to pass
gs.getUserName()
parm1 and parm2 can be:
-strings (“hello world”)
-properties (current.short_description)
-variables (myString)
-methods (gs.getUserID())
True
Where do you go to look for generated events?
System logs> events
With generated events, what does parm1 and parm2 show?
Resolved values
What does it mean if the queue field for events is left blank?
The event was processed by the default queue
_______ is the time the event was added to the queue
Created
____ is the time the event was processed
Processed
What are the two ways to respond to events?
Email and script actions
The standard time to process an (event) is how long?
within 30 seconds of being created
Do email notifications require events? If not, what else can they be triggered by?
Insertions or updates
2 reasons outbound emails send?
Record insert or update
Event generation
What are the 3 things an administrator can configure for outbound emails?
What to send
When to send
To whom it should be sent
Can the notification workflow also be used to send email?
Yes
Why aren’t notification workflow activities a necessary step in a workflow?
Notifications are automatically sent in response to record inserts and updates as well as event generation.
What do you select to see all outbound email notification configuration options?
Advance view
What are the two types of email notification?
Email or meeting notification
If you select this the email notification is enabled in the runtime environment
Active
These are the criteria for sending email
Conditions
What are the 3 options for when to send an email?
Choose triggered
Event is fired
Or record is inserted and updated
Numerical value determining which email to send when multiple notifications are in the outbox for the same record and recipients
Weight
Where do you go to create a notification?
Studio , create a notification
Select this option when a new record for the table is added to the database
Inserted
Notifications with a weight of _____ are always sent
Zero
If notifications have non zero weight values only the notification with the highest weight value is sent
True
If multiple notifications have the same non zero weight value and that value is the highest, all notifications with that value will be sent
True
Do recipients have to be servicenow users to receive emails?
No
If this is not selected, the email notification is not sent when the recipient triggers the event. Emails also don’t get sent to other recipient. No log of the email is created.
Send to event creator
The default view of the email notification is based on what?
The recipient
This prevents email notifications from being sent to user delegates
Exclude delegates
Users who are subscribed to the current record will also automatically receive the email if _______ is selected.
Subscribable
What field on the user records determines if users receive email notifications?
The notification field
With email notifications, to dynamically reference a field value from the record that triggered the notification, enclose the field name how?
using ${}
With email notifications use dot walking to reference field values on related records
${<field>.<field.name>}</field.name></field>
To reference event parameters parm 1 or parm 2, which syntax should you use?
${event.parm1} ${event.parm2}
What is the maximum notification size including attachments?
26 MB
Email template fields are overwritten by content contained in a notification
True
Click the display name to open the record (link)
${URI_REF}
Let’s you click the word link to open a related record
${reference_field_name>.URI}
Let’s you click a link to open the display name
${URI_REF}
Let’s you click a link to click the display name to open the related record
$<reference_field_name>.URI_REF}</reference_field_name>
This allows testing on notifications without having to create the conditions to generate the notification
Preview notification
What do script actions do?
Respond to events
On the script action form for notifications, is active selected by default?
No
What are the two objects for notification script actions?
-Current = object passed in from gs.eventQueue()
-Event object parm1 parm2