When we trigger a flow on Email Activity or retrieve email activity. However that does not provide us the recipient details of the email. Recipient details are stored as part of Activity Party.
In this blog, we will understand how to retrieve the Email Recipients from the activity party of the email.
Solution:
From Email messages you will get activity party. Reterive Activity Parties of that ID.
Use Filter Array Action to get only the type of recipient you need.
If you do not know the Partition type mask, you can check the output of List rows and read the formatted value.
The Filter array output will you party type and party ID. In my case the party type was Users so I have used Party ID as input to get the User record.
Based on your party type and requirements, you can make use of the party id value which basically is your recipients
Comments
Post a Comment