I have a SharePoint list that requires a "person assigned to" for each item. I want to send an email to the manager so that he could select from active directory all employees reporting to him and automatically updates the SP list with the selected name. The goal is to eliminate email exchanges. any help will be appreciated.
Hi @Cheoinky ,
Do you want the manager to select options from an email and then update the selections to corresponding item in SharePoint list?
I have made the following flow for your reference.
Add a button trigger.
Get items from the list. There is a person and group column named as EmployeeName in my list.
Add an apply to each, select value from Get items.
Within the apply to each, add the action Send an email with options. At here, in the User Options field, input all the selections and separate them with a comma.
Then the action Update item, select ID from Get items for the Id field so that option could be updated to corresponding item. And select dynamic content SelectedOption for the EmployeeName Claims field.
An image for your reference.
Note: in order that all the emails are sent at the same time, please go to Settings of Apply to each by clicking the ellipsis and turn o Concurrency Control, set its value to 50.
Thanks for your response, Mabel.
That was what I initially created with 5 options in the email and it works fine. However, The active directory does not have a specific number of employees reporting to a manager. Some may have a minimum of 3 or a maximum of 40. Is there a workaround for this instance, say a drop down?
Hi @Cheoinky ,
Thanks for updating.
But I am afraid that it is not possible to use a Dropdown for the manager to select employees reporting to him.
Please feel free post a request on Flow Ideas Forum about this feature:
Is it possible to use String as options when using the action, "Send an email with Options"?
Using "Get Direct Reports" and "Append to String Variable", we have, say, 10 direct reports from a specific Manager. I want to send an email which has the 10 names as options/buttons so that when sent to the manager, he is just able to click the right direct report to assign a task to.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
Check out the community blog page where you can find valuable learning material from community and product team members!