5 Intro to Scripting & Application Tools Flashcards Preview

ServiceNow Fundamentals - CSA > 5 Intro to Scripting & Application Tools > Flashcards

Flashcards in 5 Intro to Scripting & Application Tools Deck (30)
Loading flashcards...
1

What is scripting in ServiceNow?

The customization of an instance and/or application using JavaScript

- executes on client (scripts that run in a web browser) or server side (scripts that run on the server, where the database resides)

2

What is a UI Policy?

A rule that is applied to a form or a list to dynamically change information to the field itself

(client-side)

3

What is a Data Policy?

Enforces requirements on field and record data when the data is imported into ServiceNow or when the data in an Import Set is submitted via an external system

(server-side but can be added to client-side, by checking box "Use as UI Policy on client)

4

What can client scripts be created to do? (1 + 3)

They make "real-time" changes to the appearance of the user interface (especially forms)

- update the location field to reflect the value entered in the caller field

- disable the attachment link of a closed record when the form is loaded so a user is unable to add or modify changes

- display a notice at the top of the page to confirm a catalog request was created

5

Name four of the supported Client Scripts:

onLoad()

onChange()

onSubmit()

onCellEdit()

6

Name four of the supported Client Scripts:

onLoad()
- runs when a form is fist drawn and befora control is given to the user to begin typing

onChange()
- runs when a particular field changes value

onSubmit()
- runs when a form is saved/submitted/updated

onCellEdit()
- runs when a cell in a list changes value through use of the list editor

7

How can you use a UI Policy to set fields on a form? (3)

You can use them to make fields on a form to:

Mandatory or Optional
Hidden or Visible
Read-only or Editable

8

What is a UI action?

UI actions add buttons, links and context menu items on forms and list, making the UI more interactive, customization and specific to customer activities

9

Name 7 examples of UI actions:

Form buttons

Form context menu items

Form links

List buttons

List context menu items

List choices (at the bottom of a list)

List links (Related Link at the bottom of a list)

10

What is a Business rule?

A Business rule is a server-side script that is configured to run when a record is displayed, inserted, updated, deleted or when a table is queried

11

What is a Business rule?

A Business rule is a server-side script that is configured to run when a record is displayed, inserted, updated, deleted or when a table is queried

12

What does every Business rule include? (4)

What table to run and what timing

What conditions to evaluate

What script to run based on evaluation

If its client-callable

13

What type of scripts run on the browser?

Client-side scripts:

UI Policies
Client Scripts

14

Which script runs when a record is displayed, inserted, updated, deleted or when a table is queried?

Business Rule

15

Does a business rule run on the client or server side?

Server side

16

What provides additional functionality within an instance?

Plugins

17

What do you configure to instruct fields how to behave on a form when a UI Policy is triggered?

UI Policy Action

18

What does an Update Set do?

It tracks changes to applications and platform features then groups them together so they can be moved from one instance to another

- a "point in time" XML snapshot of process records

19

What is captured in an Update Set?

Customizations and configuration changes are captured, NOT the changes to data records or Homepages (the last can be added manually)

20

What steps are typically included in the process of retrieving an Update Set?

1. Retrieve
2. Preview
3. Commit

21

What steps are typically included in the process of retrieving an Update Set (applying an update set to an instance)?

1. Retrieve
2. Preview
3. Commit

22

What does the Integration Hub provide?

A single solution to quickly integrate with third party services to build and share content without scripting

23

What is used to move customizations from one instance to another?

Update Sets

24

Which types of records are not captured in an update set?

Data records

+ Homepage (can be added manually)

25

Which ServiceNow tool is used by developers to create custom applications?

Studio

26

A non-administrator user who is assigned one or more permissions to develop applications is called:

Delegated Developer

27

Which site offers help and training to ServiceNow Developers?

https://developer.servicenow.com

28

What protects applications by identifying and restricting access to available fields and data?

Application Scoping

29

How can a user display the current application scope in the banner frame?

System Setting (gear icon)
Developer tab
Show application picker in header

30

What ServiceNow feature can be used to begin the creation of an application?

Guided Application Creator