cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Community Support
Community Support

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
Frequent Visitor

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?  

Highlighted
Community Support
Community Support

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.
Frequent Visitor

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,083)