cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MPayne-94
Helper I
Helper I

Restarting Flow after Step Failure

I am currently running a flow that seems to fail about 30% of the time daily on one particular step (Convert File Using Path for OneDrive for Business) and I am wanting to have a "Configure to Run after" action added that if it fails to restart the flow. I have found the Flow Management Turn on Flow but that doesn't seem to work.

 

Does anyone have any other work around for this?

1 ACCEPTED SOLUTION

Accepted Solutions

 

Hi @MPayne-94 ,

 

Please consider the following configuration to achieve your needs.

  • Use Do until to repeat the Convert file using path action.
  • Only after this action is successfully executed can the following actions be continued.
  • Set a variable equal to 0 in a branch, but you can set the variable value to 0 only if the previous action was not successfully executed.https://flow.microsoft.com/en-us/blog/error-handling/

Note that the action in Do until can only be executed up to 60 times. In addition, it is recommended to add a delay action after Get file metadata using path action.

Image reference:

139.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
AlanPs1
Resident Rockstar
Resident Rockstar

Hi @MPayne-94 

 

Please can you post pictures of the flow and details of any of the errors you are getting.

 

Once we have seen this it will be easier to advise next steps.

 

If you, the reader has found this post helpful, please help the community by clicking thumbs up.

 

If this post has solved your problem, please click "Accept as Solution".

 

Any other questions, just ask.

 

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


It is always a Bad Gateway error on the convert file using path stepAnnotation 2020-02-10 133039.png

 

Hi @MPayne-94 ,

 

Please consider the following configuration to achieve your needs.

  • Use Do until to repeat the Convert file using path action.
  • Only after this action is successfully executed can the following actions be continued.
  • Set a variable equal to 0 in a branch, but you can set the variable value to 0 only if the previous action was not successfully executed.https://flow.microsoft.com/en-us/blog/error-handling/

Note that the action in Do until can only be executed up to 60 times. In addition, it is recommended to add a delay action after Get file metadata using path action.

Image reference:

139.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,157)