Does Flow Designer Update Record Run Business Rules?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2020 02:15 PM
I have a business rule to update field X in a table when the state of the record changes. In Flow Designer, I added an Update Record action to change the state of the record. I noticed that field X was not updated. Makes me believe that business rules don't run when Update Record is used to update a record. Is this true?
- Labels:
-
flow designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 07:06 PM
Did you ever sort this out?
I'm in a similar position. An OOTB Flow creates a new cat_item in an 'In review' state. I have a Business rule set to trigger on insert or update of a cat_item if the state changes to 'in_review'. It simply isn't triggering.
It's almost like the flow has a setWorkflow(false), so the BR won't run. Changing it to After with an order of 1000+ makes no difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2024 03:25 AM
Did you manage to sort this out?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2024 10:34 PM
I ended up using a dirty work around. I setup a scheduled job to run every 5 minutes. It scans the 'sc_cat_item' table for items which are not active, in the state of 'in_review' and have not been picked up by the scheduled job before.
If it finds one the job will create a RITM to a team to review the cat item. The RITM has a preview link of the item, and a link to the item itself.
To stop the job from finding the same cat_item every 5 minutes, at the end of the script I have it toggle a custom field.
I only went down this route as Flow Designer was not working in any of our environments. As soon as we fix it I'll revisit the workaround and simply use Flows to do what I need.