I want to get notification of all the flows for my environment.
Suppose, a site collection - https://abc.sharepoint.com/sites/abc ,then there should be a solution to get notified of all the flows for my site collection weekly or daily for specific period of time.
Can anyone tell me the step by step solution to get it done?
Thanks in advance!!
Yes, this would definately help but I want to get history of the flows like success/failure.
and this is using Rest API/MS Flow and any other app if possible.
is there any way to read flow history along with their statuses(success/failure) for let say past 7days.
It is kind of reporting!!
I don't know if there is a way to read the run log.
But what you can do is create your own log with for example an sharepoint list. Then add the following to the flow:
Step 1 - create new item with status Failure
Step 2 - your own flow
Last step - Update item with status Succes
Also you can create a scope and put everything in it. At the end of your flow create a new scope and adjust the settings of the scope to run only when the previous scope has a timeout or an error. Then you can perform your own actions when your flow fails. For example mail of update a log.
See an example of the last option below (seperate timeout and error scope).