Here is the Business Rule script template:
This type of JavaScript function is known as:
A. Constructor
B. Scoped
C. Anonymous
D. Self-invoking
Here is the Business Rule script template:
This type of JavaScript function is known as:
A. Constructor
B. Scoped
C. Anonymous
D. Self-invoking
So glad others have said D. I asked my friend who is an SN Architect and he said D but the answer given elsewhere on the web was B as well. I guess they stole the answers from here and didn’t bother to check the answers.
D – Self Invoking function
Reference:
https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/new_to_servicenow/app_store_learnv2_scripting_quebec_business_rule_scripts
D