Hello - trying to resolve an issue I seem to be having with MS Flow where any reference to or use of the dynamic content of a People/Group column from SharePoint sends the entire flow into havoc. There's a few instances where using this column type doesn't seem to work that I'd love to have some assistance with.
(1) When sending an email to the individual of the People/Group column -- what happens when I add in the dynamic content field into the To: of a "Send an Email" action, MS Flow automatically adds an "Apply to each" action and inserts that dynamic content into the Apply to each action. It also does this when I insert the dynamic content of the people/group into the email body.
While it's not a big deal if that the Apply to each is added, but once it is added no emails send even though testing the workflow shows no errors and appears as though all conditions and workflow steps worked correctly.
(2) When I create an HTML table to insert into an email and include a dynamic content of people/group, it doesn't display right - see image below
Thanks for the aid!
The Flow is automatically creating a loop when you reference the person or group column because the column is configured to allow for more than one person or group to be selected.
The emails are not being sent because you have not provided it the email addresses. You need to select the entry in Dynamic properties that is the person or group column name followed by "Email". If you do so, an individual email will be sent to every person or group listed.
The email text is not formatted properly because you need to click on Advanced properties in the email screen and set "Is HTML" to Yes.
In my screen shot below, I have a person or group column called PG which allows for multiple names to be selected.
If this solves your issue, please mark your post as Solved.
Scott
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
3 | |
3 | |
3 | |
2 | |
1 |