ServiceNow Scripting

"28" questions available for ServiceNow Scripting.


Q. What is a business rule?

Business rule is server side scripting that executes whenever a record is inserted, updated, deleted, displayed or queried.The key thing to keep in mind while creating a business rule is that when and on what action it has to execute. You can run the business rule 'on display', 'on before' or 'on after' of an action (insert,delete,update) is performed.

Q. What is a gliderecord?

Gliderecord is a javaclass that is used for database operations instead of writing SQL queries.

Q. What a setWorkflow(e) function does?

setWorkflow(e) enables or disables the running of business rules that might normally be triggered by subsequent actions. If the e parameter is set to false, an insert/update will not be audited. Auditing only happens when the parameter is set to true for a GlideRecord operation.
Parameters:
e - Boolean variable that if true (default) enables business rules, and if false to disables them.


Start a discussion...or just leave a comment.