Skip to main content
Community site session details

Community site session details

Session Id : DAQvFzeSKwdc8IgQeK2hPD
Power Automate - General Discussion
Unanswered

Get last successful flow runtime

Like (1) ShareShare
ReportReport
Posted on 11 Jan 2019 10:07:41 by

I have a flow that normally runs every day and extracts 24hrs of audit log file data. But sometimes problem occurs, this cause missing extracts. I would need the next flow run to pick up from where the previous successful run had stopped.

 

What I would like is, within the flow, to initiate a variable with the timestamp of the last successful time that same flow ran. Do you know if there is an easy way to do this ? 

  • Community Power Platform Member Profile Picture
    on 10 Aug 2020 at 09:20:38
    Re: Get last successful flow runtime

    You could have the final action of your flow record utcnow() in someplace, such as in a SharePoint list,  and have this only occur if the previous actions are successful. Then grab this value at the start of the next flow run. If the flow fails the recorded date will not update so a subsequent run would attempt to extract the same data as the previous run.

  • v-yuazh-msft Profile Picture
    on 14 Jan 2019 at 03:25:47
    Re: Get last successful flow runtime

    Hi @BdArbonneau,

     

    The function to get last successful flow runtime and have a next flow run to pick up from the time is not supported in microsoft flow currently.

     

    I afraid that there is no any way to achieve your needs in microsoft flow currently.

    If you would like the function to be supported in microsoft flow, you could submit an idea to flow idea forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    Best regards,

    Alice

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete