Does Flow Designer Update Record Run Business Rules?

cbarlock
Kilo Guru

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?

7 REPLIES 7

Community Alums
Not applicable

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. 

Did you manage to sort this out?

 

Community Alums
Not applicable

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.