- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2014 12:15 PM
We have a request item that for some reason triggers an event 3 times when it is submitted. This then causes an email notification to get sent 3 times. The weird part is that this only happens when this one specific item is created. For every other item the event only gets triggered once and the email only gets sent once.
Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2014 09:36 PM
Jennifer,
There is no need to remove the current.update() statement from after BR, as this should not be written in Before BR only. For your Issue am sure about that the problem is only with the order of BR as I also faced the same problem in past and when I changed the order as per appropriate manner then it starts working correctly. Please again check with the order of your BRs.
Thanks,
Rajeev Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2014 01:27 PM
Bhavesh,
I am not a frequent user of the debugger. When I turn it on, is there something specific I should look for? I scanned through the log and it says which BRs were skipped or executed but because the log is so large it seems like at some point they were all executed because some are BRs are listed mulitiple times. I can't really see what to look for. Any keywords I can use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2014 01:20 PM
current.update() is used in a few After BRs on the item and catalog task tables. Should this be removed from all business rules or is it just the Before BRs?
I changed the order of the Before BRs also and that did not fix anything.
I also checked the audit history for the tasks and they are updated 4 times after being created. All within seconds. This also happens when other items are opened.
We do not have any BRs that are specific to that item or execution plan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2014 09:36 PM
Jennifer,
There is no need to remove the current.update() statement from after BR, as this should not be written in Before BR only. For your Issue am sure about that the problem is only with the order of BR as I also faced the same problem in past and when I changed the order as per appropriate manner then it starts working correctly. Please again check with the order of your BRs.
Thanks,
Rajeev Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2014 08:38 AM
Thank you Rajeev!
When I changed the order of my BRs the duplicate emails stopped.
