async business rule is triggering multiple time in scoped application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2024 05:37 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2024 06:24 AM
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