web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Roll back an item in a...
Power Automate
Answered

Roll back an item in a list due to rejection in the approval process.

(0) ShareShare
ReportReport
Posted on by 221
Hi everyone,

Is there a way to roll back a changed item in a list due to the rejection in the approval process?
 
Ideally, if someone tries to modify an item, an approval request would be sent to the list owner with details about the proposed changes.
Only upon approval would changes be applied to the list, otherwise no updates would be made.
 
Thank you!
ROSE
Categories:
I have the same question (0)
  • Suggested answer
    MS.Ragavendar Profile Picture
    7,260 Super User 2026 Season 1 on at
     
    I assume you are referring the SharePoint List. 
     
    SharePoint has versioning capacity prebuilt with it, by default it will not enabled for List / Library, If you enabled it you can navigate to the backend and restore the which version you want. 
     
    This only applicable if the versioning is on.
     
    How to enable Versioning in SharePoint
     
    How to restore a version of Item in SharePoint List
     
     
    I believe your request query got the 200 response code 😀
     
    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item
     
  • ROSEBLACK Profile Picture
    221 on at
    Dear  
     
    I know the steps :) I would like to have a Power Automate Flow on this.
    Is that posible?
     
    Thanks a lot!
    ROSE
  • Suggested answer
    MS.Ragavendar Profile Picture
    7,260 Super User 2026 Season 1 on at
     
    Yes.
    • Use Send an HTTP request action.
    • Method: Use POST. 
    • Url : /_api/v2.0/sites/your_site_id/lists/your_list_id/items/your_item_id/versions/(ur version number)/restoreVersion
       
    I hope this helps!
     
    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item
  • ROSEBLACK Profile Picture
    221 on at
    Thank you @MSR@08012015
    Let me try but can you please explain in more detail on this.
    I still don't understand how it works :(
     
    Thanks a lot!
    ROSE
  • MS.Ragavendar Profile Picture
    7,260 Super User 2026 Season 1 on at
     
    In out of the box way we manually navigate to the item and restore the version right. 
     
    The same functionality is leverage using the below API.
     
     
    Using the HTTP request to SharePoint you can achieve as shown below.
     
     
     
     
    _api/v2.0/sites/'your site id'/lists/'your list id'/items/'Item No'/versions/'version number'/restoreVersion
     
    Site ID : 
    • Navigate to your SharePoint site and Add /_api/site/id at the end of the URL.
    • We will get Site ID in the response in xml format you have to look for the value within the <d:Id> tags.
     
    List ID : 
     
    • Navigate to List settings you will find the List ID on the URL for e.g(List=%7Bcd8ca4f1-0d08-430b-8150-c573d4da8024%8C)
    • Or Else using rest api  site url/_api/web/lists/getByTitle(‘your ListTitle’)/Id and we will get List ID in the response in xml format you have to look for the value within the <d:Id> tags.
    Item No
    • Which  Item we need to change the version.
     
    Version number
    • Which  version we need to revert back.
     
     
    I hope this gives you the complete clarity.!
     
    I also came across one blog where they completed this functionality (https://www.csharp.com/blogs/restore-version-of-a-sharepoint-list-item-using-power-automate) . 
     
    However they have get the item which they want and perform the restore. if we are aware of those we can directly use the Http request to sharepoint action alone.
     
     
  • ROSEBLACK Profile Picture
    221 on at
     
    I have created the flows I don't know what should I do for the next step now :(
     
     Thanks a lot!
    ROSE
  • Suggested answer
    MS.Ragavendar Profile Picture
    7,260 Super User 2026 Season 1 on at
     
    You are using the Get() - Reads the property it will not update the property.
     
    To update the property use the post() as per the below process.
     
    Kindly revert my back if you have any queries or clarification.
     
    Using the HTTP request to SharePoint you can achieve as shown below.
     
     
     
     
    _api/v2.0/sites/'your site id'/lists/'your list id'/items/'Item No'/versions/'version number'/restoreVersion
     
    Site ID : 
    • Navigate to your SharePoint site and Add /_api/site/id at the end of the URL.
    • We will get Site ID in the response in xml format you have to look for the value within the <d:Id> tags.
     
    List ID : 
     
    • Navigate to List settings you will find the List ID on the URL for e.g(List=%7Bcd8ca4f1-0d08-430b-8150-c573d4da8024%8C)
    • Or Else using rest api  site url/_api/web/lists/getByTitle(‘your ListTitle’)/Id and we will get List ID in the response in xml format you have to look for the value within the <d:Id> tags.
    Item No
    • Which  Item we need to change the version.
     
    Version number
    • Which  version we need to revert back.
  • ROSEBLACK Profile Picture
    221 on at
    Thank you  
    It's still not working for me :(
     
    Regards,
    ROSE
  • ROSEBLACK Profile Picture
    221 on at
    Hi Everyone,
     
    I'm creating the flow but I don't know how can make it work.
     
    Hope some expert help me.
     
    Thanks a lot!
    ROSE
  • MS.Ragavendar Profile Picture
    7,260 Super User 2026 Season 1 on at
     
    If the approval is not happened, the previous item version should be restored that is what the expectation right?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 376

#2
Valantis Profile Picture

Valantis 361

#3
David_MA Profile Picture

David_MA 294 Super User 2026 Season 1

Last 30 days Overall leaderboard