Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

List flow schedules

(1) ShareShare
ReportReport
Posted on by 86

Hi guys

 

I want to make a cloud flow that returns all the recurrence trigger details. The plan is to make a model driven app to help govern the flows and especially make some sort of scheduler!

 

I tried the "List My Flows" action in the "Power Automate Management" category, but the information I need isn't available.

Thomas_Petersen_0-1633552380280.png

 

You guys know how to get it?

 

Sincerely

Thomas H. Petersen

Droids Agency

  • Agnius Bartninkas Profile Picture
    10,045 Most Valuable Professional on at
    Re: List flow schedules

    Well, that is exactly the same payload that I showed in the sample in my original reply. Of course you would need to use Parse JSON. But the important thing is that the schema is still the same, unlike what it seemed like from your previous messages.

  • Gabriel-SC Profile Picture
    11 on at
    Re: List flow schedules

    The solution for this that I found and it's working well, was after "Get Flow" used this "Parse JSON" passing the "Flow Definition" as a parameter for me to use its variables, the schedule I want, in this case the time, I'm using this expression
     "@{body('Parse_JSON')?['triggers']?['Recurrence']?['recurrence']?['startTime']}"

    GabrielSC_0-1688562843246.png

     


    It returns exactly the time that was scheduled to run in my flow, and with this same syntax it is possible to retrieve any JSON value just by changing the keys, (I don't understand much about JSON but it's working)

     

    GabrielSC_0-1688562520045.png

  • Agnius Bartninkas Profile Picture
    10,045 Most Valuable Professional on at
    Re: List flow schedules

    Well, it might be that the output of the action has changed. What I suggested above was posted 2 years ago. I haven't tested this myself since. It may be different by now. If you have the sample outputs, you would need to adjust your flow to work with what you get.

  • Gabriel-SC Profile Picture
    11 on at
    Re: List flow schedules
    Yes, that's true, but even the ones that are scheduled don't appear exactly what I wanted them to appear, when I use the function to write the "Triggers" in Excel it still appears like this: [{"type":"Recurrence","metadata":{"operationMetadataId":xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}}] But not with the time as in your example, is there any function missing?
     
    print-flow-scheduled-test.png

    I'm using this flow:

    Among the flows listed there are flows that are repeated every 1 month, 1 week, 1 day, 1 hour and 1 minute

  • Agnius Bartninkas Profile Picture
    10,045 Most Valuable Professional on at
    Re: List flow schedules

    This is because this flow is not scheduled. It is an automated flow that runs when you press a button. You can only see schedule details on flows that are in fact scheduled.

  • Gabriel-SC Profile Picture
    11 on at
    Re: List flow schedules

    I want to make a flow that lists the other flows and captures the schedules and writes them in excel, pls someone help me, i'm new using PA.

  • Gabriel-SC Profile Picture
    11 on at
    Re: List flow schedules

    When I try to do exactly as "AgniusBartninka" explained, I can't retrieve that same line as him, it just appears ([{"type":"Request","kind":"Button","metadata":{"operationMetadataId ":"xxxxxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxxxxx"}}]) with the MetaDataId, can someone explain to me better how I can rescue the Flow schedule and write it in Excel?

  • Verified answer
    Agnius Bartninkas Profile Picture
    10,045 Most Valuable Professional on at
    Re: List flow schedules

    When you have a list of flows, you can pass the name of the flow into the "Get flow" action (cannot really give you a screenshot of that, as it's localized on my end). This will return the whole payload for the specific flow. And for instance, when I ran it on one of mine, the payload included this:

    "triggers":{"Recurrence":{"recurrence":{"frequency":"Day","interval":1,"startTime":"2021-01-28T09:00:00Z"},"type":"Recurrence"}} 

     This was a sample flow that has, as you can see, a recurring daily schedule. But you can obviously see all of the data you need there. It's just that you can't really get this in a list of all flows, but you can loop through your list and use this.

  • Thomas_Petersen Profile Picture
    86 on at
    Re: List flow schedules

    Hey Damien

     

    Thanks for replying, trying the "as admin" action is a good shot, unfortunately I still don't get any info about the recurrence:

    Thomas_Petersen_0-1633614101345.png

     

    Do you have something else up your sleeve? 🙂

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at
    Re: List flow schedules

    Try list flows as admin...

     

    DamoBird365_0-1633600583881.png

     

    Damien

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,030 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow