Scripting Flashcards

1
Q

CSAP0382 ( Category: Scripting )
Which two run scripts client-side?

Business Rule
Script Include
UI Policy
Client Script

A

UI Policy
Client Script

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

CSAP0383 ( Category: Scripting )
Which script runs when a record is displayed, inserted, updated, deleted, or when a table is queried?

Business Rule
Client Script
UI Policy

A

Business Rule

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

CSAP0384 ( Category: Scripting )
What do you configure to instruct fields how to behave on a form when a UI policy is triggered?

UI Actions
Client Script
Data Policy
UI Policy Action

A

UI Policy Action

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

CSAP0397 ( Category: Scripting )
On the client script, which of the following variables cannot be used?

g_form
producer.variable
jslog
gs.include()

A

gs.include()

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

CSAP0406 ( Category: Scripting )
What do client request + server response =?

Single trip
Round trip
Multiple trip
None of the above

A

Round trip

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

CSAP0418 ( Category: Scripting )
Business rules are real time

True
False

A

False

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

CSAP0419 ( Category: Scripting )
Which of the following are true regarding UI Policies?

They run only on server side
All the UI Policies of task table are not extended by the incident table
Based on the condition, it can be decided when to make it visible/hidden
They run on the cloud side

A

Based on the condition, it can be decided when to make it visible/hidden

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

CSAP0440 ( Category: Scripting )
Select two things from below that JellyScripting is used for?

UI Macros
UI Policy
UI Action
Content Management System

A

UI Macros
Content Management System

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

CSAP0472 ( Category: Scripting )
What is the shared scratchpad object?

g_scratchpad
u_scratchpad
gs.scratchpad
sys_sp_obj
sys_obj_sp

A

g_scratchpad

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

CSAP0552 ( Category: Scripting )
What are the scripts that run in a web browser called?

Server-side
Transform Maps
Script Includes
Client-side

A

Client-side

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

CSAP0585 ( Category: Scripting )
What type of client script runs when a cell on a list changes value through use of the List editor?

onSubmit()
onCellEdit()
onChange()
onLoad()
onCellChange()

A

onCellEdit()

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

CSAP0595 ( Category: Scripting )
Which two from list below run scripts client side?

Business Rule
Client Script
Script Include
UI Policy

A

Client Script
UI Policy

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

CSAP0614 ( Category: Scripting )
Which one is a server-side script?

UI Script
Validation Script
Business Rule
Client Script

A

Business Rule

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

CSAP0680 ( Category: Scripting )
What are the client scripts that run when a particular field changes value?

onCellEdit()
onChange()
onLoad()
onSubmit()

A

onChange()

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

CSAP0715 ( Category: Scripting )
What is the language used for ServiceNow Scripting?

Swift
NASM
JavaScript
Java
C++

A

JavaScript

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

CSAP0883 ( Category: Scripting )
Below are the types of Client Scripts, select four correct answers.

onSubmit
onUpdate
onDelete
onLoad
onCellEdit
onChange
onCreate

A

onSubmit
onLoad
onCellEdit
onChange

17
Q

CSAP0957 ( Category: Scripting )
Which script object in ServiceNow runs when an object is updated, inserted, displayed, deleted or queried?

Ui Scripts
Client Scripts
UI Policy
Business Rule
Ui Policy Action

A

Business Rule

18
Q

CSAP0997 ( Category: Scripting )
Which statement is correct with respect to Business rules:

A Business Rule must run before a database action
A piece of JavaScript
A Business Rule must run after a database action

A

A piece of JavaScript

19
Q

CSAP1753 ( Category: Scripting )
Which of the following statements is true about scripting in ServiceNow?

It is easier to debug and fix configuration changes vs. a script after an upgrade. Therefore, it is considered good practice to customize your instance without scripting.
It is easier to debug and fix a script vs. configuration changes after an upgrade. Therefore, it is considered good practice to customize your instance with scripting.

A

It is easier to debug and fix configuration changes vs. a script after an upgrade. Therefore, it is considered good practice to customize your instance without scripting.

20
Q

CSAP1761 ( Category: Scripting )
Select two true statements from below

UI policies only enforces on data entered into a form or list (passing through the UI).
Data Policies only enforces on data entered into a form or list (passing through the UI).
Data Policies are applied to all data entered into the platform: form (UI), import sets, or web services.
UI Policies are applied to all data entered into the platform: form (UI), import sets, or web services.

A

UI policies only enforces on data entered into a form or list (passing through the UI).
Data Policies are applied to all data entered into the platform: form (UI), import sets, or web services.

21
Q

CSAP1769 ( Category: Scripting )
To turn on the Save button/UI Action that show “Save”, “Insert”, and “Insert and Stay” buttons on forms navigate to:

All > System Properties > UI Properties
All > System Definition > UI Properties
All > System UI > UI Properties
All > System Security > UI Properties

A

All > System Properties > UI Properties

22
Q

CSAP1772 ( Category: Scripting )
Select two facts about Business Rules:

Which User and Groups have access
What table to run against and timing (before or after insert and more)
What conditions to evaluate, and what script to run based on the evaluation
What forms to evaluate, and what list to display based on the evaluation

A

What table to run against and timing (before or after insert and more)
What conditions to evaluate, and what script to run based on the evaluation