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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard