- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 11:45 PM
Hello,
I have written below BR to auto forward the email with condition state is ignored and body contains bds then it should forward to mail address . BR is working and sending email to provided mail address but same email sent 23 times . Not sure what could be the issue to receive 23 times every time when ever the BR conditions matches and run.
Table - sys_email
when - after update
filter condition - State is ignored and Body contains bds
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 12:56 AM
Your issue of the email being sent 23 times may be caused by how the Business Rule (BR) is triggering. Since the BR runs "after update", every time the sys_email record gets updated, the BR will execute again, possibly in a loop. This can happen because the BR itself is creating a new email record, and if the update condition is met multiple times, the BR keeps firing.
Try adjusting the trigger conditions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 12:56 AM
Your issue of the email being sent 23 times may be caused by how the Business Rule (BR) is triggering. Since the BR runs "after update", every time the sys_email record gets updated, the BR will execute again, possibly in a loop. This can happen because the BR itself is creating a new email record, and if the update condition is met multiple times, the BR keeps firing.
Try adjusting the trigger conditions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 06:39 AM
Thanks @HIROSHI SATOH , i changed filter condition - State changes to ignored and Body contains bds. it worked