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.
Join us for the first ever Power Platform Online Conference!
Look out for new contribution recognition badges coming SOON!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!