Modul 5: Intro to Scripting & Application Tools Flashcards

1
Q

What is Scripting in ServiceNow?

A

Scripting in ServiceNow or Platform Scripting is the customization of an instance and/or applications by using JavaScript.

Dependent on how the script is executed, JavaScript may execute on the client or server side and fundamentally alter how the base system functions and how its UI appears.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Round-trips?

A

Client to server round-trips take time and make the end-user wait for the round-trip to complete.
Request + Response = Round Trip.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Script Types: UI Policy and Data Policy.

Explain: UI Policy

A

UI Policy bruges kun på formulare. (Executed on the Client side).

A User Interface (UI) Policy is a rule that is applied to a form to dynamically change form information or the form itself.

Use a UI Policy to set fields on a form to:

  • Mandatory or Optional
  • Hidden or Visibale
  • Read-only or Editable

NOTE: To apply a UI Policy to all views, set the Global setting to true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Script Types: UI Policy and Data Policy.

Explain: Data Policy

A

A Data Policy is a rule that enforces data consistency by setting fields as mandatory and/or read-only.

Data Policy controls are similar to UI Policies but UI Policies are only enforced on data entered into a form (Passing through the UI).

Data Policies are applied to all data entered into the platform; form (UI), Import Sets, or Web Services.

A data policy executes on the server side but can also run as a UI Policy on the client side.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Script Types: UI Action?

A
Vi skal scripte for at bruge dette.
User Interface (UI) Actions add buttons, links, and context menu items on forms and lists, making the UI more interactive, customizable, and specific to user activities.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Script Types: Client Script?

A

Client scripts make “real-time” changes to the appearance of the user interface, especially forms.

Client Scripts execute on the client side.

Man kan sætte client scripts op når man åbner, ændre eller submitter formularen.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Script Types: Business Rule?

A

A Business Rule is configured to run when a record is displayed, inserted, updated, deleted, or when a table is queried.

Business Rules execute on the server side.

Business Rules can be set to run before or after the database action has occurred.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are Plugins?

A

Before adding script to ServiceNow, administrators should check the list of available plugins.

Plugins provide additional optional functionality within a ServiceNow instance.

Noget andre allerede har lavet. I princippet er alt plugins i ServiceNow.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are Update Sets?

A

An Update Set is a group of customizations that can be moved from one instance of ServiceNow to another.

Update sets allow administrators to group a series of changes into a named set and then move them as a unit.

Every instance of ServiceNow has a Default Update Set, but users can create additional named sets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is captured in an Update Set?

A

Process Records:

  • Business Rules
  • Client Scripts
  • Fields
  • Forms and Form Sections
  • Reports
  • Tables
  • Views
  • Roles (men ikke hvem der har den)
  • Published Workflows
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is NOT captured in an Update Set?

A

Data:

  • New Data Records
  • Modified Data Records
  • Tasks
  • Modified CIs
  • New Users and Groups
  • Schedules
  • Scheduled Jobs
  • Homepages
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the most common processes required for integration?

A
The CMDB
Incident Management
Problem Management
Change Management
User Administration
Single Sign-on
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is IntegrationHub?

A

IntegrationHub provides a single solution to quickly integrate with third party services to build and share content.

Features include:

  • API management to throttle and control access to critical services.
  • Analytics and reporting to gain insight into usage patterns.
  • API exploration and discovery to ensure users know what is available and how to use it.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which statement about a client script is true?
A: A client script always runs onLoad
B: A client script always runs on the client (Browser)
C: A client script always runs onSubmit
D: A client script always runs on the server (database)

A

B: A client script always runs on the client (Browser)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly