The sequence of the business rule action and advanced execution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2024 11:42 PM
What I was trying to ask was if any coding in the "Advanced" tab of a business rule will override any other actions a Business Rule will take.? EX: We have advanced checkbox marked, with code in the advanced tab. But we do have Actions that update fields outside of the advanced tab. Since Advanced code is also update same fields, will the business rule process the advanced code after performing the other actions?
If I create a new record , the importance filed will be set to be 3 or 1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2024 11:55 PM
Hi Jiang,
The fundamental rule in SN, if the "Advanced" checkbox is selected, the code in the "Script" section will override and control the entire logic of the rule (settings in Actions tab won't execute)
In any case, you can add conditional blocks in script and shift any logic from Actions tab to Advanced (if both are required)
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2024 12:06 AM
Thanks a lot ,Kilo
Your reply is consistent with the result of my actual verification, the code in the "Script" section will override and control the entire logic of the rule (when update the same field).
As you said , above is the fundamental rule in SN, Whether there is an official document for the servicenow, describing it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2024 10:46 AM
Hi Jiang,
I experienced it practically like you, also by many others. Maybe its in back of my head that Script is Fundamentally superior in a BR, please don’t take it otherwise.
If I get any links I’ll share it here, but did not find any yet.
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.