Hi All,
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 "123@test.com; 987@test.com" 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