Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Y1Q5GbPVVdWI5jSvljAPDN
Power Automate - Building Flows
Suggested answer

SharePoint List Approval Workflow - Retention of Reponses on Item

Like (0) ShareShare
ReportReport
Posted on 12 Dec 2024 20:36:07 by 20
Hi, all--
 
I have an approval workflow for SharePoint Items, with the foundation of the flow built based on the out-of-the-box “Request approval (everyone must approve) for a selected item” flow that is available, with some modifications--mostly cosmetic.  The first change of note was changing the Approval type from Approve/Reject - Everyone must approve to Custom Responses - Wait for all responses.  The second was adding a step after the outcome of the approval/rejection to update the SharePoint Item with the status from each approver, comments, as well as a date/time stamp.  This is contained in a "Sign Off Status" field on the Item and works well.
 
Where I'm running into an issue is that it only updates based on the last approval.  If everyone approves, it's a non-issue.  However, there are scenarios where one or multiple people will reject the request.  In this case, there is the potential that I will need to send the Item back to the original rejecter to seek approval.  Right now, the flow is overwriting all of the original statuses with just the one person.  So here's the use case: if 1 person approve a request and 1 rejects a request, I would like the Sign Off Status to show all 2 rows.  If I then need to send the Item back to the original rejecter and he/she now approves, I would like the original list in the Sign Off Status appended with the new approval.  So there should now be 3 rows.  In the example below, I would send the Item back to John Doe, he approves, and then a new row would be appended to the Sign Off Status with his approval.
 
Is there a way to do this?
 
 
  • KB-20091245-0 Profile Picture
    20 on 16 Dec 2024 at 20:31:16
    SharePoint List Approval Workflow - Retention of Reponses on Item
    Hi, Sudeep.  Thank you for the response.  I am relatively new to Power Automate (and self-taught) and not at all familiar with coding.  That said, can you help me understand where in my existing flow the variables would be placed and what type of variables they are?  Happy to provide screenshots of any of the expanded steps, if that would be helpful.
     
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    14,297 Most Valuable Professional on 15 Dec 2024 at 22:35:35
    SharePoint List Approval Workflow - Retention of Reponses on Item
    To handle approvals in Power Automate without overwriting previous entries, you can use a variable to store all responses together. Start by creating a variable at the beginning of your flow to gather each approver's decision, comments, and timestamp. When someone approves or rejects, add their details to this variable, keeping previous entries intact. Finally, update your SharePoint "Sign Off Status" field with this collected data. If someone needs to approve again after a rejection, simply add their new decision to the existing list. Makes sense?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started