script Flashcards

1
Q

Which of the following are a type of client scripts supported in ServiceNow?
(Choose four.)

A

onCellEdit, onLoad, onSubmit, onChange

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

Which of the following statements correctly describes the difference between a client script and a business rule?

A

A client script runs on the client when onLoad, onChange of a field or onSubmit of
a record. A business rule runs on server before or after a record is loaded, inserted, deleted or updated.

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

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

A

Business Rule

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

What are the different types of Client Scripts that are supported in ServiceNow? Select 4 Answers from the below options.

A

OnLoad(), OnSubmit(), OnCellEdit(), OnChange()

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

What is the main language used for scripting in ServiceNow?

A

JavaScript

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

Which of the following do run scripts client-side? Select 2 Answers from the below options.

A

Client Script, UI Policy

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

Which of the following are a type of client scripts supported in ServiceNow?

A

onCellEdit onSubmit onLoad onChange

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

How to make a Client Script run on the server side instead of client side?

A

Client scripts can only run on client. There isn’t a way to make them run on the server

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

Which of the following can be useful if you want to restrict certain users from executing scripts on a tables?

A

ACL

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