
Announcements
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.
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.