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
Giga 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
Kilo Patron

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 

If you found this response helpful, please mark it as Helpful. If it fully answered your question, consider marking it as Correct. Doing so helps other users find accurate and useful information more easily.

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
Giga 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.