cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerSäm
Responsive Resident
Responsive Resident

After the process has been approved, change sharepoint item to Approved

Hi Everyone,

I have a question on how to update the data source based on an approval process.

 

I am currently building a flow that can approve or reject a leave request.
I use PowerApps to create the leave request and it is then inserted into Sharepoint. But there it is displayed only with the status "Requested". Meanwhile, the manager gets a mail to approve. So now I want that when the manager approves the request, the field status in Sharepoint changes from "Requested" to "Approved". (The field status is a selection field and by default it is set to "Requested"). Now I want that when I click on approve in the email, the field automatically changes to approved. How can I do that? I had read that I can do it with the trigger "Get item and update", but I am relatively new here and don't know how to do it. Do you have any ideas? What can I do to make the status change automatically?

 

I hope the question was formulated in an understandable way.

 

Thanks in advance

PowerSäm

1 REPLY 1
annajhaveri
Super User
Super User

@PowerSäm  so you mentioned that you already have a flow which send approval, are you using Start and Wait for Approval action? If yes, then after the approval action you can add condition to check outcome of approval, and in yes branch of condition you can use Update Item action to update the status of request in SharePoint list.

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

Users online (3,384)