Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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