10-11-2022 01:49 AM - last edited 05-24-2023 06:27 AM
Hello Everyone.
Do you want to log different actions, inputs, outputs, final status like successful, failed. Or store the start time and end time. Then this is cookbook for you.
Things to not here:
Flow:
Formula below:
result('Scope')
In case of logging error:
And set it to has failed.
Output in Sharepoint:
Benefits:
Logging is a good technique to do because the run history is only available till 28 days. You can download the run history on regular basis but you can do this too. You can analyze later, at what output you were getting successful results and at what output you were getting a failed result.
You can add multiple actions in the scope and get information about all the actions that are inside it.
I hope you guys will find this cookbook helpful.
Do comment if you find any difficulty in the above method or have any doubts.
And if you like it kudos are appreciated. 🙂