Business Rule

vikramkehar
Giga Contributor

I have a business rule set to run on update of the 'State' field on the Incident table. It works perfectly when the field is updated manually or through a script, but when I update the same field using Flow Designer, the business rule doesn’t trigger. Why is this happening? Is there something different about how Flow Designer updates records?

1 ACCEPTED SOLUTION

garimakharb
Mega Guru

Flow Designer might not trigger BRs if the field value isn’t actually changing or if it uses setWorkflow(false) internally. Also, BRs with current.field.changes() won’t run unless there’s a real change.

Can you post your BR script? I can look into that and help you better

View solution in original post

4 REPLIES 4

Rafael Batistot
Tera Sage

Hi @vikramkehar,

 

How do you set your BR? Kindly post you code and the conditions, if is after or before and insert or update

 

Thank you 

fahabil698
Mega Contributor

Hello @vikramkehar 
I suggest to paste the business rule here (via a screenshot or script) and I am quite positive that the Community will assist you with this.

garimakharb
Mega Guru

Flow Designer might not trigger BRs if the field value isn’t actually changing or if it uses setWorkflow(false) internally. Also, BRs with current.field.changes() won’t run unless there’s a real change.

Can you post your BR script? I can look into that and help you better

Thanks, I got it where I am lagging with your explanation.