Question


Virtusa
IN
Last activity: 9 Mar 2023 10:10 EST
CorrCreate OOTB activity not sending email to all repeated parties
Hello Guys,
I have a party say 'Interested' as a repeating party, this means I will have pyWorkParty(Interested), pyWorkParty(Interested_02) under pyWorkParty.
So when I am passing this 'Interested' party as a CC_PartyRoles param to CorrCreate OOTB activity, it is sending email to only pyWorkParty(Interested) and not considering the next repeated parties like pyWorkParty(Interested_02).
Isn't it weird?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 9 Mar 2023 9:55 EST


Bits in Glass
IN
@RameshBattini yaa right. I wanted to find out whether we can find any changes by filling up all the parameters. It's just a kind of debugging method. You can try using corrnew also😊. Let's keep trying if some or other is working with any of the trial and error method.


Bits in Glass
IN
@BATTINIRAMESH please send the screenshots of pyworkparty clipboard structure and how you are passing parameters to the Corrcreate.
Updated: 9 Mar 2023 6:16 EST


Virtusa
IN
@Anoop Krishna hello, PFA :)


Bits in Glass
IN
@RameshBattini this looks fine to me. Should be working. Can you give To_partyRoles too to corrcreate for testing. Also while tracing were you able to see why it is getting skipped on looping pyWorkparty? Can you also try with CorrNew activity keeping SendNow as true and giving To_Party and CC_Party


Virtusa
IN
@Anoop Krishna We can pass either To_partyRoles or just PartyRole, the difference here is We can pass multiple parties separated by ',' in To_partyRoles and in PartyRole we can pass only one party.
I think this is not a problem with our custom code, May be Pega didn't managed to send email to repeated parties until we give param as "Interested, Interested_02". Because it worked when I pass param like "Interested, Interested_02".
But as a low code developer, I would expect Pega should send the email to all "Interested" repeated parties if we pass just "Interested" :>
-
Anoop Krishna
Accepted Solution
Updated: 9 Mar 2023 9:55 EST


Bits in Glass
IN
@RameshBattini yaa right. I wanted to find out whether we can find any changes by filling up all the parameters. It's just a kind of debugging method. You can try using corrnew also😊. Let's keep trying if some or other is working with any of the trial and error method.
-
Ramesh Reddy Battini


Virtusa
IN
@Anoop Krishna Thank you,
CorrNew did the job perfectly.
-
Anoop Krishna
Updated: 9 Mar 2023 9:57 EST


Bits in Glass
IN
@RameshBattini that's perfect and great news.
-
Ramesh Reddy Battini


Pegasystems Inc.
IN
@RameshBattini Hi,
As per the activity and the description it states "comma delimited list of party specific roles for emails" and this is directly set to pyCCString and the Engine also considers it as a comma separated string and seems like repeating roles are not handled.
@MarijeSchillern Can you please check if our understanding is correct? Ideally the CorrCreate Should consider repeating roles for CC,BCC
-
Anoop Krishna


Virtusa
IN
@SrinidhiM Thank you,
Yes, CorrCreate should also consider repeating roles too, CorrNew OOTB activity is considering and sending email to repeated parties too :)
-
Anoop Krishna
Updated: 9 Mar 2023 10:10 EST


Pegasystems Inc.
IN
@RameshBattini Hi Just checked the CorrNew activity, step 2 loops the pyworkparty for CC and BCC and passes the values to corrcreate may be corrcreate was only intended to be a reusable activity for sending email for single or CSV string, that is why the logic for repeating parties are not there. Also there is a parameter called broadcast so to justify it the activity seems to be as it is
-
Anoop Krishna Ramesh Reddy Battini