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
Please try this:
toemailaddress( reject( isnull( _ ), union( { split( pv!emailDetails.CcEmailAddress, ";" ) }, null ) ))You can replace isnull function with the null check rule.
thanks a lot Pratiksha Jain it worked