Scripting Flashcards

1
Q

What debugging method do you use in the server side scripting in a scoped application? (3st)

A

gs.info()
gs.error()
gs.warn()

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

What objects are available in an inbound email action?

A

current, email

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

What command would you use to retrieve an Application property in a Business Rule?

A

gs.getProperty()

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

What objects can you use in a Scheduled Script Execution (Scheduled Job) script? (3)

A

GlideRecord
GlideSystem
GlideDateTime
etc

(not current or previous)

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

What syntax is used in a Record Producer script to access values from Record Producer form fields?

A

producer.variablename

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

When configuring the content of an Email Notification, which syntax should be used to reference the properties of an event triggering the Notification?

A

${event.}

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

In a SOAP Message Function, what syntax indicates a variable to pass when the function is called?

A

$(variable_name)

??

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

Which method is used in emulating mobile for testing?

A

$m.do

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

Which one of the following objects CANNOT be used in Script Action Script?

GlideRecord
event
previous
current

A

previous

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

Which of the following variables are available in all Business Rules? (Select All That Apply)

GlideSystem
previous
g_scratchpad
current

A

GS, current

(previous not available in async and display, g_scratchpad only available in display)

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

What is the correct syntax for adding dynamic content to a notification’s HTML message field?

A

$(short_description)

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

Which of the method prints a message on a blue background to the top of the current form by default?

A

g_form.addInfoMessage()

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

In what kind of business rule can you use g_scratchpad?

A

Display BR

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

What debugging strategies are available for client side scripting?

A

Field Watcher
JavaScript Log - jslog()
try/catch
g_form methods

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

What scripts can be debugged using field watcher? (9)

A
  • Business Rules
  • Client Scripts
  • ACL
  • Data lookup
  • Data policy
  • UI Policy
  • UI Action
  • Workflow activity
  • Reference qualifier
How well did you know this?
1
Not at all
2
3
4
5
Perfectly