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 / How to roll back the c...
Power Automate
Unanswered

How to roll back the changes when failure of flow

(0) ShareShare
ReportReport
Posted on by 4

Hi All,

 

Is there any possibility to roll back the actions performed before the flow failure? In the below example I want to roll back the "Insert row" action as "Insert row 2" has failed. Appriciate your help here.

 

 

2018-12-19_1329.png

 

Thanks,

Phani.

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @rajsekhar311,

     

    I am afraid I really don't really understand what "roll back" you mentioned here means.

    If you want sql table to return to the state after the Insert row action is executed, obviously you don't have to worry about it.

    Because if the Insert row 2 action fails, it will not do anything with sql table.

     

    Best Regards,

    Barry

  • rajsekhar311 Profile Picture
    4 on at

    Hi Barry,

     

    Thanks for your reply.

     

    roll back means, I want to revert all the changes that are happend with particular flow. If you can refere my example, if something fails at "Insert row 2", I know it will not do anything in sql but what about "Insert row" action which is already committed in SQL? I want to revert the "Insert row" changes also.

     

    Actual requirement is, I have an entity (Invoice Container) in CRM with 4 currency fields. I have to create a separate SQL record for each currency field from the Invoice Container record. So if something fails at 4th curreny field I want to revert the changes which means nothing should be inserted into SQL. Hope you understand my requirement.

     

    Thanks,

    Phani.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    You want to use some sort of transaction... when one of the steps fails then do not commit anything.

    It sounds great and you really have to request this feature...

    Perhaps you can fix this with the SCOPE control? When the scope fails then perform the undo actions of all the things you have done based on the 'Configure run after' settings?

  • rajsekhar311 Profile Picture
    4 on at
    Thanks for your reply. I will try with the controls you mentioned.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard