0 votes
in Service Now by
What is setWorkflow(e) function does in servicenow?

1 Answer

0 votes
by

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.

...