04-29-2021 11:14 AM
There are times when it would be great to have a List of all the Flows deployed on a SharePoint List/Library. It's not pretty straight forward, but it's definitely possible.
I am creating a Flow with manual trigger here which will get you a list of all the Flows deployed on a SharePoint List with the 'when an item is created' trigger.
**We need this step to get the Definition of the flow which contains detailed information about trigger and actions used in the Flow
** We need this step to populate the Array with all the Flow Definitions for further processing
** We need this step to filter Flows with "When an Item is created" trigger
** I am passing the GUID manually here but you can add another action to get the GUID of the List/Library by sending a rest query to SharePoint
There you go, you now have a list of all the Flows created by you and deployed on a SharePoint List/Library!
Hope this was helpful!