I have used Send Email Smart Service Node in my process. I have my pv!emailDetails (Type CDT) through which I'm getting multiple Cc email addresses data like "email@example.com; firstname.lastname@example.org" from Web API.
Currently I'm only using this logic in CC - toemailaddress(pv!emailDetails.CcEmailAddress).
Please suggest what logic can I use in the Cc so that email gets sent to all the unique multiple email addresses.
Thanks a lot in advance.
Discussion posts and replies are publicly visible
You can use the union function simply while invoking your toemailaddress function , so that it will give you unique values.For ex : toemailaddress( split(union(pv!emailDetails.CcEmailAddress,pv!emailDetails.CcEmailAddress)),";")
thanks a lot
© 2023 Appian. All rights reserved.