(Please ignore the text in the to field it was just somethings i was trying which is unrelated to the doubt i have asked below)
So, as shown in the above image i am using a send email smart service. And in the to field, whenever i mention a specific user email its sending them the email without any issue, but when i choose a group its not. I don't get an email at all when i place a group in the to field. Can anyone help me what i'm supposed to do in such cases.Thanks and regards.
Discussion posts and replies are publicly visible
toemailrecipient( getdistinctusers(topeople( cons!group )))
Not receiving an email can have various reasons, but does not have to mean that the email was not sent. As per the documentation, groups are supported here.
Where to you get that group from? Did you try to use togroup() to make sure Appian recognizes it correctly?
Did you check for any error messages? Did you check the email node outputs? Especially the "Valid To email addresses"?
Thankyou now iam recieving mails when i address a group.
For now i didn't set any outputs in the smart service as i assume i don't need any for now.
Do i need to add any email output node ?
skzahed_09 said:Do i need to add any email output node ?
Depends , but it's better to save the results of any node (not just this).It helps in debugging incase of anything went wrong