<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Stopping business rule processing on background script in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610114#M267040</link>
    <description>&lt;P&gt;Thanks Van. &amp;nbsp; Used gr.setWorkflow(false); and it worked like a charm.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 03 Mar 2016 16:06:33 GMT</pubDate>
    <dc:creator>tahnalos</dc:creator>
    <dc:date>2016-03-03T16:06:33Z</dc:date>
    <item>
      <title>Stopping business rule processing on background script</title>
      <link>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610109#M267035</link>
      <description>&lt;P&gt;We are attempting to retroactively update a batch of change records (about 2000) to populate a field that was developed as mandatory. &amp;nbsp; No problem there, developed a background script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only problem is that the script appears to be triggering business rules left, right, and center upon the update() call. &amp;nbsp; Which we don't want (one of the business rules is resetting all the approvals, a definite no-no).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody have an idea on how to stop further business rule processing? &amp;nbsp; Or trigger an update without business rule processing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 23:18:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610109#M267035</guid>
      <dc:creator>tahnalos</dc:creator>
      <dc:date>2016-03-02T23:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping business rule processing on background script</title>
      <link>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610110#M267036</link>
      <description>&lt;P&gt;You want to try to add this tag to the script so that it doesn't update the Updated field, which should skip other business rules from kicking off.&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;gr.autoSysField(false); //&lt;/STRONG&gt; so that the records don't have system updates&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;gr.setWorkflow(false); // &lt;/STRONG&gt;so no business rules are run&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Mar 2016 23:28:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610110#M267036</guid>
      <dc:creator>vant</dc:creator>
      <dc:date>2016-03-02T23:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping business rule processing on background script</title>
      <link>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610111#M267037</link>
      <description>&lt;P&gt;you can use setWorkflow(false) to prevent rules from firing.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Mar 2016 01:51:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610111#M267037</guid>
      <dc:creator>akt_snow</dc:creator>
      <dc:date>2016-03-03T01:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping business rule processing on background script</title>
      <link>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610112#M267038</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;In your background script, before the update() line you should write "gr.setWorkflow(false);" It will work fine without executing the business rules.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Assuming gr is your Glide object.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;PS: Hit answered, like, Helpful or Correct depending on the impact of the response.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Mar 2016 05:25:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610112#M267038</guid>
      <dc:creator>anupama8</dc:creator>
      <dc:date>2016-03-03T05:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping business rule processing on background script</title>
      <link>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610113#M267039</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I had same issue once. You can use &lt;STRONG style="font-style: inherit; font-family: inherit; color: #666666;"&gt;gr.setWorkflow(false);&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #666666;"&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #666666;"&gt;Vaibhav&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG style="color: #666666; font-family: arial, sans-serif; font-style: inherit;"&gt;PS: Hit answered, like, Helpful or Correct depending on the impact of the response.&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Mar 2016 05:28:48 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610113#M267039</guid>
      <dc:creator>vaibhavdesai</dc:creator>
      <dc:date>2016-03-03T05:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping business rule processing on background script</title>
      <link>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610114#M267040</link>
      <description>&lt;P&gt;Thanks Van. &amp;nbsp; Used gr.setWorkflow(false); and it worked like a charm.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Mar 2016 16:06:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610114#M267040</guid>
      <dc:creator>tahnalos</dc:creator>
      <dc:date>2016-03-03T16:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping business rule processing on background script</title>
      <link>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610115#M267041</link>
      <description>&lt;P&gt;To identify the business rules and flows that run on a record when inserting, updating, deleting, displaying or querying the record the DevTools' WhatRuns button comes in handy.&lt;/P&gt;
&lt;P&gt;As the name suggests it shows you what runs on a record (including business rules on parent tables).&lt;/P&gt;
&lt;P&gt;DevTools contains a truckload of re-usable functions and&amp;nbsp;features for developers.&lt;/P&gt;
&lt;P&gt;Fork at will:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/saschawildgrube/servicenow-devtools"&gt;https://github.com/saschawildgrube/servicenow-devtools&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 13:54:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/1610115#M267041</guid>
      <dc:creator>saschawildg</dc:creator>
      <dc:date>2022-06-10T13:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping business rule processing on background script</title>
      <link>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/3505777#M1250279</link>
      <description>&lt;P&gt;Important note, the correct method name is,&amp;nbsp;&lt;SPAN&gt;plural:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;gr&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;autoSysFields&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;false&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Details.. but without the 's' it will not work.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 12:40:37 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/stopping-business-rule-processing-on-background-script/m-p/3505777#M1250279</guid>
      <dc:creator>Ton ThalesNL</dc:creator>
      <dc:date>2026-03-11T12:40:37Z</dc:date>
    </item>
  </channel>
</rss>

