We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

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