How to stop running the business rules when we run fix scripts ?

Ansuha Chipuri
Kilo Guru

How to stop running the business rules when we run fix scripts ?

5 REPLIES 5

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Anusha,

You should use setWorkflow(false) to disable the running of BR.

setWorkflow(false)- Disables the running of business rules that might normally be triggered by subsequent actions. Workflow Engine, and I believe all other engines, will not run. It also turns off auditing.

 

- Pradeep Sharma