Scripting Flashcards
CSAP0382 ( Category: Scripting )
Which two run scripts client-side?
Business Rule
Script Include
UI Policy
Client Script
UI Policy
Client Script
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
Business Rule
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
UI Policy Action
CSAP0397 ( Category: Scripting )
On the client script, which of the following variables cannot be used?
g_form
producer.variable
jslog
gs.include()
gs.include()
CSAP0406 ( Category: Scripting )
What do client request + server response =?
Single trip
Round trip
Multiple trip
None of the above
Round trip
CSAP0418 ( Category: Scripting )
Business rules are real time
True
False
False
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
Based on the condition, it can be decided when to make it visible/hidden
CSAP0440 ( Category: Scripting )
Select two things from below that JellyScripting is used for?
UI Macros
UI Policy
UI Action
Content Management System
UI Macros
Content Management System
CSAP0472 ( Category: Scripting )
What is the shared scratchpad object?
g_scratchpad
u_scratchpad
gs.scratchpad
sys_sp_obj
sys_obj_sp
g_scratchpad
CSAP0552 ( Category: Scripting )
What are the scripts that run in a web browser called?
Server-side
Transform Maps
Script Includes
Client-side
Client-side
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()
onCellEdit()
CSAP0595 ( Category: Scripting )
Which two from list below run scripts client side?
Business Rule
Client Script
Script Include
UI Policy
Client Script
UI Policy
CSAP0614 ( Category: Scripting )
Which one is a server-side script?
UI Script
Validation Script
Business Rule
Client Script
Business Rule
CSAP0680 ( Category: Scripting )
What are the client scripts that run when a particular field changes value?
onCellEdit()
onChange()
onLoad()
onSubmit()
onChange()
CSAP0715 ( Category: Scripting )
What is the language used for ServiceNow Scripting?
Swift
NASM
JavaScript
Java
C++
JavaScript
CSAP0883 ( Category: Scripting )
Below are the types of Client Scripts, select four correct answers.
onSubmit
onUpdate
onDelete
onLoad
onCellEdit
onChange
onCreate
onSubmit
onLoad
onCellEdit
onChange
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
Business Rule
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 piece of JavaScript
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.
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.
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.
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.
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
All > System Properties > UI Properties
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
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