cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Saiii
Regular Visitor

Flow Management - List flows as admin does not show all flows

Hi, first post 🙂

 

I'm using a workflow using the 'list flows as admin' action to scan all created/updated/orphaned flows on the default environment en store this data in a sharepoint list. This to manage the flows on this environment. Currently it has come to my attention that some flows are not listed. For example i found a flow created in sharepoint to send mail after an sharepoint item was updated.

If i do a test using the Get Flow as Admin i can find the flow, but i get the something like this: (i've changed the url)

 

https://xxx/workflows/cc9d7565aa164f16a8fd34256xx/runs/08586498121694263867440097xxx/actions/Get_Flow_as_Admin/contents/ActionOutputs?api-version=2017-07-01&se=2019-03-05T18%3A00%3A00.0000000Z&sp=%2Fruns%2F08586498121694263867440097864CU24%2Factions%2FGet_Flow_as_Admin%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=LJegkOvVmCsCfKYUPFL80JcubbLxdMb6a5QA0RuFyz8

 

If i go to that url i get a JSON (20k lines) which at the buttom contains the correct references to the sharepoint list the flow is running on.

 

My question is: did anybody else run into this issue? And is there a way to guarantee i can get all the flows created on an environment using the list flows as admin action?

 

I have administrator rights on the default environment + CDS so that's not the issue.

 

 

1 REPLY 1
AlexN
Advocate V
Advocate V

I am experiencing the same problem. Using the connector, I get only some flows back. Is there maybe a limit which is undocumented? Count is 250, which sounds a bit "suspicious" to me...


Edit:
Just tried setting the TopCount to 500, guess what I got 😉

{
  "error": {
    "code": "InvalidTopInQueryString",
    "message": "Invalid top value - '500'. Top value must be positive integer less than or equal to 250."
  }
}

 

Edit 2:
Activating the "pagination" feature of the action helps.
grafik.png

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

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

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,428)