We have one BPM that huse to send email alerts under certain conditions. For some reason, after some of the code was chagned, it caused a loop and now users are flooded with emails coming from E10.
We have reverted the BPM to the old code, we have restarted both app servers but as soon as they come back online, the emails starts again.
Is there a queue somewhere we can look at? How can we stop this?
The BPM is now turned off but the email flood continues. I don’t think the problem is with the code… we are trying to find the source of where the email are coming from.
What method? You’re not giving me much to go on here
Sharing your code would be helpful, because as you stated, there was a code change and then this problem happened.
To answer your first question, it does not queue in the database. The BPM Send Mail action creates a mail client within the code. The “Custom Code Block” object in the BPM is simply a class.
Ok so you are setting some stuff inside a foreach loop based on ttTask. Have you verified the contents of the ttTask object?
Secondly, do you know what part of this code changed from before?