Scripting Flashcards
What debugging method do you use in the server side scripting in a scoped application? (3st)
gs.info()
gs.error()
gs.warn()
What objects are available in an inbound email action?
current, email
What command would you use to retrieve an Application property in a Business Rule?
gs.getProperty()
What objects can you use in a Scheduled Script Execution (Scheduled Job) script? (3)
GlideRecord
GlideSystem
GlideDateTime
etc
(not current or previous)
What syntax is used in a Record Producer script to access values from Record Producer form fields?
producer.variablename
When configuring the content of an Email Notification, which syntax should be used to reference the properties of an event triggering the Notification?
${event.}
In a SOAP Message Function, what syntax indicates a variable to pass when the function is called?
$(variable_name)
??
Which method is used in emulating mobile for testing?
$m.do
Which one of the following objects CANNOT be used in Script Action Script?
GlideRecord
event
previous
current
previous
Which of the following variables are available in all Business Rules? (Select All That Apply)
GlideSystem
previous
g_scratchpad
current
GS, current
(previous not available in async and display, g_scratchpad only available in display)
What is the correct syntax for adding dynamic content to a notification’s HTML message field?
$(short_description)
Which of the method prints a message on a blue background to the top of the current form by default?
g_form.addInfoMessage()
In what kind of business rule can you use g_scratchpad?
Display BR
What debugging strategies are available for client side scripting?
Field Watcher
JavaScript Log - jslog()
try/catch
g_form methods
What scripts can be debugged using field watcher? (9)
- Business Rules
- Client Scripts
- ACL
- Data lookup
- Data policy
- UI Policy
- UI Action
- Workflow activity
- Reference qualifier