1/61
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
ServiceNow uses what type of simple scripting language for both server and client-side scripting?
Javascript
Complete this sentence.
_______ scripts run on the user's web browser and _____ scripts run on the server (which includes the ServiceNow database).
Client scripts run on the user's web browser and Server scripts run on the server (which includes the ServiceNow database).
Put these items in order to show the path taken from the client to the ServiceNow Database on the server.
Internet, ServiceNow Database, Web Browser, Application Server,
Web Browser --> Internet --> Application Server --> ServiceNow Database
Define what a UI Policy is.
UI Policy: a rule that is applied to a form to dynamically change information or the form itself.
Answer "server" or "client" to complete this sentence:
UI Policies execute on the ____ side
client
Provide 3 examples of what you can set fields to on a form using a UI Policy.
1. Mandatory or Optional
2. Hidden or Visible
3. Read-only or Editable
How would you apply a UI Policy to ALL views?
Set the global setting equal to true.
Define what a Data Policy is.
Data Policy: rule that enforces data consistency by setting fields as mandatory and/or read-only.
Answer "server" or "client" to complete this sentence:
Data Policies execute on the ____ side.
server
Describe the difference between a UI Policy and a Data Policy.
UI Policy: only enforced on data entered into a form through the UI
Data Policy: enforced on all data entered into the platform (form UI, Import Sets or Web Services)
Answer "server" or "client" to complete this sentence:
A Data Policy executes on the _____ side but can also run as a UI Policy on the ______ side.
A Data Policy executes on the server side but can also run as a UI Policy on the client side.
If a Data Policy is enforced to make a field read-only on a List, will the field still appear editable to the user?
Yes, but the update will fail.
Answer True/False:
Data Policies are used to enforce security on the platform.
False.
Data Policies are used to standardize the same data across ServiceNow applications, managing the integrity of the information stored in the database.
When is a Data Policy enforced?
When a record is submitted from the User Interface (UI). This behavior cannot be changed.
Define what a UI Action is.
Provide an example.
UI Action: adds buttons, links and context menu items on forms and lists
Example:
adding Create Problem to an existing Incident form
Answer True/False:
A UI Action only runs on the server side.
False.
A UI Action can be either server or client side (depending on the "client" check box selection)
What 3 examples of UI Actions pertain to a Form?
1. Form buttons
2. Form context menu (right-click header)
3. Form links
What 4 examples of UI Actions pertain to a List?
1. List buttons
2. List context menu (right-click a record)
3. List choices (at the bottom of a list)
4. List links (Related links at the bottom of a list)
Which checkbox needs to be selected to make a UI Action visible and interactive to the user?
Active
Define what a client script is.
Provide an example.
client script: makes "real-time" changes to the appearance of the user interface, especially forms.
Example: having an alert appear to a user when they change the priority of an Incident.
What are the 4 types of client scripts supported in the ServiceNow platform and when do they execute?
1. onCellEdit() runs when cell on a list changes value
2. onChange() runs when a particular field changes value
3. onLoad() runs when a form is loaded
4. onSubmit() runs when a form is submitted
Define what a business rule is.
business rule: rule configured to run when a record is displayed, inserted, updated, deleted or when a table is queried
Answer True/False:
A Business Rule only runs before database action has occurred.
False.
A Business Rule can be set to run either before or after the database action has occurred.
Business Rules execute on the _____ side.
server
Using the When setting on a Business Rule, what 4 choices are available to select?
1. Before a record is saved to the database
2. After a record is saved to the database
3. Async (queued); client and server work independently
4. Display before the record is displayed
Which 4 sections are defined within a Business Rule? (include tabs)
1. Table to run against [no tab]
2. Timing of execution ["When to run"]
3. Conditions to evaluate ["When to run"]
4. What actions to take ["Actions"]
What is the primary difference between a Business Rule and a Client Script?
a Client Script only executes on the client (typically used on forms) whereas a Business Rule can be executed on the server and are applied consistently regardless of how they are accessed (i.e. not just forms).
What should you always consider prior to implementing a Business Rule?
Consider whether you can accomplish the same goal using Flow Designer.
Which of these are executed on Client side and which of these are executed on Server side?
A. UI Policy / UI Action
B. Data Policy
C. Client Script
D. Business Rule
Client side: A, C
Server side: B, D
Define what a Catalog UI Policy is.
Provide an example.
Catalog UI Policy: controls the behavior of catalog item forms when presented to the users.
Example: If ship-to address is internal, show "Office" field; otherwise show "Address" field.
Catalog client scripts run client side to control behavior of catalog items presented to users.
What 3 options exist to determine when the script is executed (on_____())?
1. onLoad()
2. onChange()
3. onSubmit()
How do you configure UI Policies?
(2 answers)
1. From the additional actions menu, select Configure > UI Policies
2. All > System UI > UI Policies
What ServiceNow capability protects applications by identifying and restricting access to available artifacts and data?
Application Scoping
Applications that were created prior to application scoping are in _________ scope.
global
What does the system add to the front of application artifacts such as tables, scripts and configuration records?
namespace identifier
Define what a Update Set is.
Update Set: group of configuration changes that can be moved from one instance to another
What file format is an update set stored in?
XML
What 3 items are contained within an Update Set?
1. A set of record details that uniquely identify the update set
2. A list of configuration changes
3. A state that determines whether another instance can retrieve and apply configuration changes
Which table does an Update Set write changes from tracked tables to?
sys_update_xml
When merging multiple Update Sets, if multiple sets have modified the same object (ex. Incident), what will the system do?
only the most recent change will be moved to the new, merged Update Set
What path in the All menu allows you to create or update an existing Update Set?
All > System Update Sets > Local Update Sets
Instead of accessing the list of Local Update Sets via the All menu, how can you accomplish this within the interface?
Click the Globe in the Unified Navigation Header.
Click Update Set (default: Global).
Click the Open List icon.
Instead of accessing the current Update Set via the All menu, how can you accomplish this within the interface?
Click the Globe in the Unified Navigation Header.
Click current Update Set.
Click the Open Record icon.
It is recommended to avoid using the Default Update Set to move customizations between instances. What should you do instead?
used a named Update Set (user-created)
What allows you to group multiple Update Sets together so you can preview and commit them in bulk?
batch update sets
Dealing with multiple update sets can lead to problems.
Provide 2 problems you can avoid and what the recommended alternative is.
1. committing the update sets in the wrong order
2. inadvertently leaving out one or more sets
Avoid these problems by grouping completed update sets into a batch.
Complete this sentence using "Process" and "Data":
Update Sets capture customization or configuration changes for _________ records but do not include changes to _________ records.
Update Sets capture customization or configuration changes for Process records, but do not include changes to Data records.
An Update Set can capture many changes to Process Records.
Provide 3 examples of these types of records.
- Business Rules
- Client Scripts
- Fields
- Forms and Form Sections
- Report Definitions
- Tables
- Views
- Roles
- Published Workflows
What by default is not captured in an Update Set but can be manually added?
What is the function called to add it?
Dashboards
can be manually added by using the Unload Dashboard function
An administrator may want to move data that would not be captured within an Update Set.
How should you move this data?
export XML function
If the Update Set "state" is marked In Progress, what button would you press to select the currently shown Update Set as the target for configuration changes?
Submit and Make Current
What does it mean to mark an Update Set as "Complete"?
The set is ready to migrate and is available for other instances to retrieve.
True/False:
If you want to add more updates to an Update Set marked Complete, set it back to In Progress first, make the changes and move it back to Complete.
False
Once an Update Set is marked Complete, you should never change it back to In Progress.
Instead, if you need to add additional changes, create another update set and commit them both together.
What path in the All menu allows you to Retrieve Update Sets?
All > System Update Sets > Retrieved Update Sets
What are the 3 steps in the typical process of retrieving an Update Set?
1. Retrieve
2. Preview
3. Commit
What does previewing a retrieved Update Set allow you to do?
previewing compares a retrieved update set from a remote instance to updates on the local instance to detect potential problems.
What is the maximum number of records ServiceNow recommends not to exceed within an Update Set?
100
As some platform records are created on an instance after provisioning and do not match between different instances, what platform record fields should you ensure match?
sys_id
What path in the All menu allows you to establish connectivity to other sub-production instances you will use to retrieve Update Sets?
All > System Update Sets > Update Sources
When adding an Update Source you will need to specify 7 connection settings for the remote instance.
What are they?
1. Name
2. Type
3. Active (checkbox)
4. URL
5. Username
6. Password
7. Short Description
Which module should you consider using to create and run automated tests on your ServiceNow instance after modifying it?
Automated Test Framework (ATF)
True/False:
The system property to run automated tests is enabled by default in a baseline implementation of the platform.
False
The system property is disabled by default and should only be enabled on non-production instances.