cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cheoinky
Level: Powered On

user selects item in email to udpate SP list

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. 

4 REPLIES 4
Community Support Team
Community Support Team

Re: user selects item in email to udpate SP list

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.

1.PNG

 

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.

2.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Cheoinky
Level: Powered On

Re: user selects item in email to udpate SP list

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?  

Community Support Team
Community Support Team

Re: user selects item in email to udpate SP list

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:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheoinky
Level: Powered On

Re: user selects item in email to udpate SP list

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.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,284)