Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

repeat step in case of error

(0) ShareShare
ReportReport
Posted on by 10
Hello, I am making a flow that is the following: when creating or modifying a file in a sharepoint, copy it to a path of a local computer. I would need it to be repeated after 30 min.
  • Verified answer
    RezaDorrani Profile Picture
    12,141 on at
    Re: repeat step in case of error

    Hi @Jordib 

     

    The Flow will run at the background even if the PC is out of network

     

    If you go to the settings action for your Flow action for file system

    you can set the retry policy as a fixed interval

    Set counter to 90 (it will try 90 times)

    Set interval as PT30M

     

    this will ensure the action keeps retrying for 30 mins 90 times if it fails

     

    Regards,

    Reza Dorrani

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

     

  • Jordib Profile Picture
    10 on at
    Re: repeat step in case of error

    Hello,
    Could you send me a sample capture? many thanks

     

    Captura.JPG

     

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: repeat step in case of error

    @Jordib 

    I undertsand that the Flow is functioning correctly.  However, it is difficult to tell you how to configure it for your requiremenst without seeing it.

    One technique would be to use a variable - make it a boolean and initialize it to false.  Place the action that that is going to error our inside of a do until loop.  Immediately after the action that may error, include a delay action.   Configure the run after settings on thedelay to run only if the action before it has failed.  Next, configure a set variable action to run only if the action before it (the delay action) is skipped.  In this action, set the variable to true. 

    The Do until loop will time out in one hour by default.  Make sure that you change the timeout by click on change limits in the action.

    The loop should run until the variable equals true.

     

     

     

  • Jordib Profile Picture
    10 on at
    Re: repeat step in case of error

    The flow works correctly, I want the repetition in case the PC is out of network or off

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: repeat step in case of error

    @Jordib 

    Please post a screen shot of your Flow and I will assist.  The error handling may involve involve changing the retry settings as well as configuring the run after settings.

     

     

  • Jordib Profile Picture
    10 on at
    Re: repeat step in case of error
    Hello, thanks for answering. The flow is already created. I just need that in case of error the process is repeated automatically after 30 min or 1 h
  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: repeat step in case of error

    @Jordib 

    To accomplish your goal, you'll need to use the File System Connector.  The file system connector requires that you install and configure the On-Premises Data Gateway on your computer.   Here is a link to documentation on the File System Connector.

     

    There are a number of templates that use the File system connector and SharePoint - I suggest that, once you install the data gateway, you create a Flow using one of the templates to gain experience with the File system connector.

     

    To create your Flow, you'll want to use a recurrence trigger and a SharePoint Get items action along with an OData filter so that you only retrieve items that are modified within the last hour.

     

    Please post here if you need additional help once the data gateway is installed.

     

     

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,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow