Implement Try, Catch and Finally in Power Automate
Do you know how we can implement Try, Catch and Finally in Microsoft Flow or Power Automate? If not, then this video is for you.
As a programmer we have a habit to place our code to Try, Catch and Finally block. This is the basic funda of error handling.
Let’s say you are fetching some items using Power Automate and during your action if something went wrong then you want to notify your users immediately and want to log that thing as Error Log, then how can you achieve that in Power Automate?
To implement Try, Catch and Finally we need to use Scope action. Once our action has failed or timed out, after that we can configure Catch Block. Catch block has its own execution. Finally block will execute after try and catch where we can log our actions.
During this video, one real life example where we can maintain a log on each success / fail event of the flow. We created a Try, Catch and Finally mechanism in Power Automate.
Chapters:
0:00 Start
0:22 Real Life Example
1:50 Start to Develop Flow with Try Catch and Finally
2:03 Implement Try Catch and Finally in Microsoft Power Automate
4:08 Configure Catch Block
4:35 Configure Finally block
5:49 How to maintain Log in Power Automate?
8:46 Test the flow
10:55 Conclusion
#PowerAutomate
#PowerPlatform
#MicrosoftFlow
Пікірлер: 12
Thanks bro
Thanks for sharing!
@iamdhruvinshah
3 жыл бұрын
Thanks for watching
Thanks for the vid! Curious question, what app do you use to highlight your mouse cursor with a soft yellow circle?
@iamdhruvinshah
3 жыл бұрын
The highlighted cursor here is screen captures feature. I did not use any other software . I'm using Debute video screen capture
@AnthonyCua
3 жыл бұрын
@@iamdhruvinshah oh nice. Lemme check out Debute screen capture then. Thanks so much!
Hello, Can we get the actual error message in Catch Block?
Good one ☝️ I hv 300 employees across 3 shifts within 7 departments stored in one SharePoint list. I need to upload these 300 records to another SharePoint list daily roster in advance changing the date field for the next day. I like to automate the process. Your thoughts please,
@iamdhruvinshah
3 жыл бұрын
Need to configure Schedule Flow which work as per expected manner.
We have log for power automate... Can we get actual error message?
@iamdhruvinshah
3 жыл бұрын
Good question.. I need to search on this..If I found anything will prepare a separate video on this Thanks
dude you talk too fast😢😂