Support Article
Duplicate emails sent post upgrade to Pega 7.3.1
SA-69853
Summary
Post upgrade to Pega 7.3.1, duplicate emails are generated when an email is sent to a work party with multiple entries (that is, Interested and Interested_02).
Error Messages
Not Applicable
Steps to Reproduce
- Create a work party role which allows multiple participants. (for example. Interested).
- Run the case.
- Add two Interested parties to the work object (Interested and Interested_02).
- Send an email to the work party using the pzSendEmail activity. One email is sent to Interested and Interested_02, while a second email is sent to only Interested_02.
Root Cause
If the role given for the PartyRole parameter repeats, each work party present will receive a separate correspondence. In the email, when additional parties are specified (to/cc/bcc), those parties are included on each of the separate emails sent out.
Resolution
Perform the following local-change:
- Call the pzSendEmail activity which internally calls the SendSimpleEmail to send mails.
- Pass the parameters in the Current Parameter page to bypass the PartyRole which is marked as required.
Published March 30, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.