How to turn off the business rule in flow designer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2023 12:20 PM
Hi Guys,
Instead of running a background script, I would like to run a flow where I would need to update a bunch of asset records and change their retired date. I need to turn off the business rule so it would not send any notifications or trigger another process.
If using a script I will use :
gr.setWorkflow(false); //Do not run business rules
gr.autoSysFields(false); //Do not update system fields
How do we accomplish the same thing using flow designer?
Regards,
Jocelyn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2025 02:26 PM
I would also like a solution to this, I'm leaning toward creating a custom action but not certain it'll work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2025 03:35 PM
hi Jocelyn @JLeong
When do you logically want to the records and change their retired date?
If you identify a tangible trigger, you can make a flow and add a custom action with a script that will update all your records as well as using <GlideRecord>.setWorkflow(false);
Best
Anu
