The CreatorCon Call for Content is officially open! Get started here.

async business rule is triggering multiple time in scoped application

chandan1994
Tera Contributor

I have called a rest message in an async business rule and it is being triggering again and again and  and even I set the setworkflow(false) still it triggers.

Please advise what we can do.

1 REPLY 1

Mark Manders
Mega Patron

What is your trigger? And what does it do exactly?

I had this a while ago with a BR that ran on update of a record and if it was updated, it needed to get values from a record on another table and sync it. After a while we found out that even when no fields were updated, the sys_updated_on field was updating, triggering the BR, etc.

I think (without knowing your code) your BR isn't triggering itself, but something that causes it to trigger again, which makes your setWorkflow(false) do nothing here.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark