Exam questions Flashcards
This is used to perform operations on table data when it is displayed, inserted, updated, deleted, or queried. It is API supported and runs ____ side
This is a business rule and it runs server side. Often used to validate data and trigger events
This stores javascript functions and classes for use by ____ side script objects. Each of these includes either a function or an implementation of a ServiceNow class. This only runs when called by a ___ side script
Script includes, runs server side. Often used to enable different components to reuse server code and to make server code available to client-side calls.
These run when specific conditions occur on the system in order to trigger script actions
events, run server side. often used to identify and log when certain conditions are met, such as when an incident is opened or closed.
These run when a specific event is triggered to determine how the system handles it
script actions, run on server, often used to automate a response when a specific event occurs, such as send an email notification when an incident is opened.
Add buttons, links, context menu items on forms and lists to allow users to perform application-specific operations
UI actions, can run server or client side, often used to enable users to perform specific actions such as resolve an incident
Run javascript on the browser to perform operations on form and list data
Client scripts, client side, often used to enforce client side validation requirements, such as making certain an end date is after a start date
Perform operations on form data or fields, such as making fields, mandatory, visible, or read only
UI policies, client side, often used to Enforce data policies from the UI such as make a field required on first entry and then read only afterwards
what is the property that allows administrators to control annotations?
glide.ui.form_annotations, by default this property is set to true to display annotations
What is the roll that allows users to add annotations to forms?
personalize_form role
What defines the set of objects and methods allowed in server-side scripts running in an scoped application.
scoped API
access permissions can apply to any supported ___ ___ call such as REST, JSON, or SOAP
Web service
Where do you set runtime Access to application tables?
edit an application then from the tables related list choose application access then check appropriate boxes
Describe the following Access Control: Can Read
This control allows script objects from other application scopes to read records stored in the protected table. This access is required for all other API record operations
Describe the following Access Control: Can Write
This access allows script objects from other application scopes to modify records stored in a table. Can Read must be allowed for this action to work.
Describe the following Access Control: Can Create
This access allows other applications scopes to create records in this table. Example: a script in another application can insert a new record in this table. Available only when can read is also true.
Describe the following Access Control: Can Delete
This access allows other application scopes to delete records from this table. Only available when can read is true
What does it mean to Allow access to this table via web services
This allows users to make inbound web service queries to a table. This offers both run time and design time protection. The user performing the query must have the correct permissions to access this table, even when this option is selected.
What are the default run time access permission settings on an application?
Accessible from is All application scopes, Can Read is enabled, Allow access to this table via web services is enabled, can create, can update, and can delete are disabled
What are three examples of design time access you can grant or deny permission to create configuration records (also known as application files)
Business Rules, Client Scripts, UI Actions
The following settings will grant access to which configuration records: Accessible from is set to all application scopes Can read is selected
Configuration records: Access Controls, Business Rules
The following settings will grant access to which configuration records: Accessible from is set to all application scopes Can read is selected Allow Configuration is selected
Client scripts, Dictionary entry (new field only), UI actions
What is a scheduled job
an automated piece of work that can be performed at either a particular time or on a recurring schedule.
What are examples of tasks that can be automated as scheduled jobs?
Run and distribute a report, Generate a record (incident, change, configuration item, etc…) from a template, Run a business rule and do whatever the rule contains
What is the name of the tool that displays gs.print() and gs.log() statements as well as server logging information and error messages at the bottom of the content frame
Debug Log (This is automatically activated when you activate Debug Business Rule)
What does system security > “Debug Security Rules” do?
places a debug icon on each field of a form. Point to the icon to see if there are any debug messages for the associated element. Click the icon to expand details about read and write access
What does system security > “Stop Debugging” do?
disables all debugging processes
The following are ways to do what: activate the “Stop Debugging module” (located in system security) log out of the instance The session expires (times out for example) Close the browser
These are ways to de-activate a Server Side debug process
What is the recommended way to debug server-side scripts?
use gs.print statements controlled by system properties
why shouldn’t gs.log() statements be used in scripts?
they can sometimes get left in the code which could cause them to get triggered thousands of times accidentally which would slow down the system
A live feed group that is associated with a record such as an incident or change is a ____ _____
Document Feed - This allows users to work on tasks and other records through the live feed interface
The following are benefits of what: Improving communication between users working on the same record Improving visibility into progress for end users Providing a single place to see updates on multiple records Saving conversation history in the record so that knowledge is not lost in an email chain
The document feed
What are inbound email actions similar to and in what way?
Similar to business rules in that they use both conditions and scripts
If a forwarded message comes in with the following conditions what happens: 1. A subject starting with a recognized forward prefix (even if a watermark or an in-reply-to header is present) 2. From appears anywhere in the email body
Result of Default action: Create New Record Name of Default Action: Create Incident (forwarded)
If a Reply message comes in that matches one of the following conditions what happens: 1. A valid watermark that matches an existing record 2. An In-Reply-To email header (when no watermark is present) that matches an existing record 3. A subject line starting with a recognized reply prefix (when neither a watermark nor an in-reply-to header is present) and a valid record number that matches an existing record
Result of Default action: Update Existing Record Name of Default Action: Update Incident (BP)
If a New email message comes in that does not meet the conditions for either a reply or forward type inbound email action what will happen
Result of Default action: Create New Record Name of Default Action: Create Incident
How does servicenow match an email to an inbound action in the case that more than one potential options exist
First the table is matched, then, if there is more than one inbound action on the resulting table, servicenow uses the order field to determine the order in which the actions run
What do the following prefixes signify: re:, aw:, r:
these are prefixes that the servicenow glide.email.reply_subject_prefix property recognize as an email even when no watermark or in-reply-to header is present
Fuji or later supports what version of apple devices?
all iPhones or iPods running iOS7 and above
What version of Android is supported by ServiceNow?
Andriod version 4.0/Ice Cream Sandwich and above
What version of BlackBerry is supported
Blackberry 10 and above
If the “create module” field is selected when creating a table, what is the new module’s default behavior? a) Display a list of all records from the table. b) Open an empty form so new records can be created. c) Display an empty homepage for the new application. d) Open a link to a wiki article with instructions on how to customize the behavior of the new module.
Display a list of all records from the table
Which of the following are debugged using the JavaScript Debugger? a) All client side scripts. b) Client Scripts and UI Policies only. c) All server side scripts. d) Business Rules and Script Includes only.
Business Rules and Script Includes only
The Application Access settings for a table are? a. Global application scope b.All application scopes c. This application scope d. ServiceNow application scope a) A and B b) B and C c) C and D d) A and C
All application scopes, This Application Scope
Which of the following is not a Report Type in ServiceNow? a) Trend b) Funnel c) Chart d) Pyramid
Chart
Which utility is used to determine if field names in an import set match the field names on the target table when importing data into ServiceNow? a) Transform Maps b) Auto Map Matching Fields c) CI Relationship Builder d) Business Service Management Map
Auto Map Matching Fields
Identify the incorrect statement about the Team Development application in ServiceNow? a) Team Development allows for branching operations including pushing and pulling record versions between instances. b) Team Development uses Git to manage versions. c) Developers can compare a development instance to another development instance. d) The Dashboard is a central location for all team development activities.
Team Development uses Git to manage versions
What is a Record Producer?
A record producer is a specific type of catalog item that allows end users to create task-based records (such as incident records) from the service catalog.
How is data populated on a table using a record producer?
- Create a variable on the record producer with the same name as the field in the target record. (use a variable type that corresponds to the field type) 2. Define a template to assign a static field value for all records created by the record producer 3. Define a script that uses any variable or server-side objects and functions to assign values
Can record producers be created from a table?
yes, starting with the dublin release
What does Team Development provide?
Branching operations including pushing and pulling record versions between instances The ability to compare a development instance to other development instances A central dashboard for all team development activites
UI Policies are not supported on Search Screens (true/false)
True
You can create UI policies for tables in a different scope than the UI policy record (true/false)
False
The following conditions are required to do what? 1. The run scripts check box must be cleared 2. The Global check box must be selected 3. None of the UI policy actions can have visible set to True or set to False (it must be set to Leave Alone)
This is the way to convert a UI Policy to a Data Policy