Is there a way to disable business rule in transform script ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2020 12:31 AM
Hi All,
I want to disable some of the business rules while adding relationships data. I have used Run Business rule as false but it disabled all the business rule and i want some business to be enabled. So is there a way to disable some of the business rule in transform map.
Thaks,
Dinesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2020 12:39 AM
Hi Dinesh,
that is not possible; you cannot disable some BR and make other runs
Either all business rules will be disabled or enabled
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2020 12:44 AM
Hi Ankur,
Is there a way to disable Business Rules in the Transform script ?
Thanks,
Dinesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2020 12:46 AM
Hi Dinesh,
As Ankur updated there isn't any option. Its either all or none. In case you want few to be executed you can do some forceful updates from list view on the records after transform is complete for which you want business rules to trigger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2020 12:49 AM
Hi Dinesh,
to disable all BR already there is checkbox of Run business rule -> keep that as false
if you still want BR to run you can use onafter transform script which would run for every row and
use target.update() and check whether it triggers relevant BRs
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader