Question
Standard Chartered Global Business Services Sdn. Bhd.
MY
Last activity: 21 Nov 2018 1:27 EST
more emails getting generating for CorrNew with params To_PartyRoles, CC_PartyRoles, and BCC_PartyRoles with Broadcast is unchecked.
I have scenario to notify two parties say approver and reviewer by email.
Both Reviewer and Approver is multiple user emails associated.
API used: CorrNew
Param passed : PartyRole – Mandatory(approver(1-10)) / To_PartyRoles(approver(1-10))/ CC_PartyRoles(Reviewer(1-10))/ broadcast =false
To : all approver
CC: All Reviewer
Expected : single email with to/cc
Actual : email1 = To :approver_01/CC: all reviewer # email2 = To: approver_02/CC: all reviewer
As per API usage / History I have tried. please let me know right combination of param to meet the expected results
***Moderator Edit: Vidyaranjan | Updated Categories***
Hi @manigandank,
Thanks for posting on PSC.
I guess there is repetition,
The Broadcast parameter sends correspondence separately to each party on the work object(This is false in your case, so correct as per your requirement).
If the role given for the PartyRole parameter repeats, each such work party present will receive separate correspondence.
If this is email and there are additional parties specified (to/cc/bcc), those parties will be included on each of the separate emails sent out.If you desire one email to go out to multiple recipients, DO NOT use the PartyRole parameter.
Instead, use the To_PartyRoles, CC_PartyRoles, and BCC_PartyRoles parameters, and make sure that Broadcast is unchecked.
Also, you could review the second Java step of the activity "Corr New". You could easily identify why this repetition is happening in your case.
Hope it helps you in understanding. Kindly notify by marking this post as answered if it does for larger Pega audience and tracking purposes.
Regards,
Asif