Тёмный
No video :(

Error Handling in Power Automate flows | Try Catch Scope Action 

Reza Dorrani
Подписаться 133 тыс.
Просмотров 93 тыс.
50% 1

Опубликовано:

 

27 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 274   
@AnandhAdhithan
@AnandhAdhithan Год назад
More useful for citizen developers. Thanks for the video. Excellent explanations!!!
@RezaDorrani
@RezaDorrani Год назад
My pleasure!
@Amritasthegreatindiantaste
@Amritasthegreatindiantaste 4 дня назад
As a beginner , You helped me lot to learn Power Platforms . Thanks for such detailed videos .🤗
@RezaDorrani
@RezaDorrani 4 дня назад
It's my pleasure. Thanks so much for watching and learning from the videos.
@ankushjain4128
@ankushjain4128 Год назад
There are many times I have used the try catch block in a flow in the past but still this topic holds something new for me to learn.. Thanks Reza for updating all these scenarios in such a beautiful manner. Keep it up, you are doing an incredible job.
@RezaDorrani
@RezaDorrani Год назад
Glad it was helpful! Thanks for the feedback Ankush.
@antoniobranderas
@antoniobranderas Год назад
So I had this situation today. My flow failed trying to send a simple email. Something was going on with our power platform today. From what I can tell there is no way to catch an error with an email notification if notifications are the cause of the failure. PS: GREAT VIDEO!
@RezaDorrani
@RezaDorrani Год назад
You could add same try catch technique and notify user via "Send me an email notification" action
@antoniobranderas
@antoniobranderas Год назад
@@RezaDorrani I was trying to send myself a notification. That was the test and the platform died a millisecond after the flow started. 😂 Apparently they only had problems with Flow3 and Flow2. Something about 503 errors.
@RezaDorrani
@RezaDorrani Год назад
@@antoniobranderas not sure about this as I have not faced it
@sibidi894
@sibidi894 Год назад
could also send notification via teams.
@jt9228
@jt9228 Год назад
Thank you, again, Reza! You have so many useful videos, with lots of tips and tricks. I find them so useful for my work! Many Thanks!!!
@RezaDorrani
@RezaDorrani Год назад
Great to hear! Thanks so much for watching and liking the videos
@vkrish79
@vkrish79 7 месяцев назад
I am a regular visitor of Reza's videos and as usual his signature top class is visible. Great work Reza!
@RezaDorrani
@RezaDorrani 7 месяцев назад
Glad to hear that!
@StephanOnisick
@StephanOnisick Год назад
So Awesome. that I had to watch 5 times and take Screenshots to begin to understand. I will definitely have to incorporate this.
@RezaDorrani
@RezaDorrani Год назад
Glad it was helpful!
@nishantranabliss
@nishantranabliss 3 месяца назад
Thanks Reza for all your extremely helpful and informative videos. Have learned a lot about Canvas App and Power Automate from them 🙏.
@RezaDorrani
@RezaDorrani 3 месяца назад
Most welcome
@ericzheng4838
@ericzheng4838 Год назад
Pretty much same as the previous error handling from another video from you. But this time it is very clever to add a termination with 'Fali' in the end so the status remains as it should be. Geniues Reza!
@RezaDorrani
@RezaDorrani Год назад
Following are the new aspects I showcased: - Handling errors in apply to each - Terminate - Handling both failures and time outs - Error Handling template - Flow run link URL has been updated. It would also work with flows within solutions
@DigitDani
@DigitDani Год назад
Very good video. Answered my questions around error handling in PA precisely and resolved my current issue. Thank you!
@RezaDorrani
@RezaDorrani Год назад
Glad it helped!
@briancanfield2968
@briancanfield2968 Год назад
Thank you! This is something my flows desperately need..
@RezaDorrani
@RezaDorrani Год назад
Most welcome
@yojanhernandez7181
@yojanhernandez7181 Год назад
Great job! Very good explanation, organization and also dividing the video by chapters, was a great help, thank you very much!
@RezaDorrani
@RezaDorrani Год назад
It's wonderful to receive positive feedback on the video - thank you for sharing your thoughts!
@komanglayang7861
@komanglayang7861 Год назад
Thank you for the detailed and thorough explanation on this one. I found it very helpful
@RezaDorrani
@RezaDorrani Год назад
Glad to hear it!
@nihar4713
@nihar4713 Год назад
brilliant lecture, really cleared my concepts as a beginner
@RezaDorrani
@RezaDorrani Год назад
Awesome
@AnupamSinhaLovesMusic
@AnupamSinhaLovesMusic 7 месяцев назад
Perfectly explained, thank you so much for this video.
@RezaDorrani
@RezaDorrani 7 месяцев назад
You're very welcome!
@imanahmed7056
@imanahmed7056 Год назад
Thank you so much, a well needed explanation. Happy Monday!
@RezaDorrani
@RezaDorrani Год назад
You are so welcome!
@pupycron4302
@pupycron4302 Год назад
This is FANTASTIC. And so well explained. Many thanks!
@RezaDorrani
@RezaDorrani Год назад
Most welcome!
@finalfant111
@finalfant111 Год назад
Thank you. I was on the right track with the Scope thing, but I was sticking it in a parallel within the apply to each loop so my flow was still failing. Basically, I know that my flow was going to fail on several and I didn't really care to know that it failed, so I just wanted the ones that failed to drop off and be ignored without failing the flow. I just added a scope that ran after apply to each failed and then terminated with a successful message. I know this isn't ideal, but I am dealing with a condition that isn't evaluting correctly which is supposed to drop the items that are failing anyway. Until I get that bit figured out, this is a good band aide to allow the flow to run as "normal".
@RezaDorrani
@RezaDorrani Год назад
Interesting scenario
@elfyjohnson261
@elfyjohnson261 Год назад
Learned a lot of new things in this video. Thanks for uploading 😀
@RezaDorrani
@RezaDorrani Год назад
Thanks Elfy
@sheeeeep12345
@sheeeeep12345 25 дней назад
Was looking for this, thanks!
@RezaDorrani
@RezaDorrani 25 дней назад
Welcome
@sgeorge1642
@sgeorge1642 Год назад
As always, brilliant materials to learn from. Thank you for sharing Reza.
@RezaDorrani
@RezaDorrani Год назад
My pleasure!
@skydivealdroid
@skydivealdroid 8 месяцев назад
Man this is such a very informative and useful video - thank you for doing this and sharing it
@RezaDorrani
@RezaDorrani 8 месяцев назад
Most welcome!
@schattedaenker
@schattedaenker 9 месяцев назад
Man Reza, this is just brilliant! Thanks so much
@RezaDorrani
@RezaDorrani 9 месяцев назад
Most welcome
@btoz6237
@btoz6237 Год назад
Another awesome video Reza !!! You're the best.
@RezaDorrani
@RezaDorrani Год назад
Thanks so much
@aaditechnix573
@aaditechnix573 18 дней назад
GREAT VIDEO! Very useful
@RezaDorrani
@RezaDorrani 18 дней назад
Glad it was helpful!
@francescjuliana888
@francescjuliana888 Год назад
Very good tutorial. Thank you for your explanation. Very useful!
@RezaDorrani
@RezaDorrani Год назад
You’re most welcome
@RAJATSAHANI123
@RAJATSAHANI123 Год назад
Excellent video. Thanks
@RezaDorrani
@RezaDorrani Год назад
Most welcome
@susmaniarja1106
@susmaniarja1106 Год назад
And its really amazing!!!!!!! Worth watching this to handle the errors in flow!
@RezaDorrani
@RezaDorrani Год назад
Thanks
@oualidtube
@oualidtube Год назад
Thank you Reza. Helped me a lot.
@RezaDorrani
@RezaDorrani Год назад
Most welcome
@oualidtube
@oualidtube 6 месяцев назад
Hi, @@RezaDorrani I hope you are doing well, please make a video on error handling in child and parent flows, thank you very much in advance
@RezaDorrani
@RezaDorrani 6 месяцев назад
@@oualidtube thanks for the suggestion. My rule for making videos is set - “I make videos when I receive multiple requests on a topic. Every 6 months I ask subscribers for topic suggestions on Community Tab of my channel. Most voted idea gets added to my backlog. Make sure to post this idea whenever I post the next topic suggestion post.”
@Jaxkookie
@Jaxkookie Год назад
Hey Reza, this some great work you are doing. I am playing with the try catch scope. I have nested conditions and if a nested condition fails, the error message reflects the top parent, not the nested action. How do I get the nested action error message?
@RezaDorrani
@RezaDorrani Год назад
I have not tried this for nested actions. It would require more complex data parsing.
@Iammrbt2
@Iammrbt2 Год назад
Excellent video, subscribed because of it. Great work please continue!
@RezaDorrani
@RezaDorrani Год назад
Welcome aboard!
@oluwatobipaul6171
@oluwatobipaul6171 Год назад
Thank you Reza. This came in really handy
@RezaDorrani
@RezaDorrani Год назад
Happy to heat that
@goodguywins
@goodguywins 10 месяцев назад
Brilliant - thanks again for your great work!
@RezaDorrani
@RezaDorrani 10 месяцев назад
My pleasure!
@keithdavies9150
@keithdavies9150 4 месяца назад
Hi Reza, very informative video and clear instructions on handling errors. Unfortunately, one of my mailbox handling flows failed with a connection error, which rendered the options to send email or Teams message , or to add an entry to a SharePoint table all inoperable. What would you recommend for connection issue error trapping?
@RezaDorrani
@RezaDorrani 4 месяца назад
Not sure if there is an option for connection issue tracking.
@frieshania
@frieshania Год назад
I’ve always wanted to know about this. Thanks 🎉
@RezaDorrani
@RezaDorrani Год назад
Most welcome
@saadiwilliams9020
@saadiwilliams9020 6 месяцев назад
Merci merci et encore merci pour cette vidéo qui m'a énormément aidé
@funzone4313
@funzone4313 Год назад
Thank you @Raza 🙌 Your videos are always useful ✨
@RezaDorrani
@RezaDorrani Год назад
Glad to hear that! Thanks for watching
@muza1453
@muza1453 Год назад
Great work!
@RezaDorrani
@RezaDorrani Год назад
Thanks!
@DMNEVERLOSE
@DMNEVERLOSE Год назад
Great informative video as always. Very good job!
@RezaDorrani
@RezaDorrani Год назад
Glad you liked it!
@caremd99
@caremd99 Год назад
I have always learned a lot watching these videos. One question... is the formula length() or lenght() or are both spellings accepted?
@RezaDorrani
@RezaDorrani Год назад
I spelled it wrong in the flow hence highlighted it in video :) Its Length!
@Nomadic0ne
@Nomadic0ne 7 месяцев назад
Thank you for this solution! As usual, explained clearly and professionally. I do have a question though: I am creating (or updating) an item in SharePoint Online via my flow. Occasionally it fails due to one of the item properties being incorrect (such as the user in a People field not being found). Is there a way to catch the error and return which propety exactly was the point of failure? (I'd like to report the property and possibly try updating again in the catch block with that property excluded.)
@RezaDorrani
@RezaDorrani 7 месяцев назад
Error handling in loops is possible. Best option would be to add another try catch block within the loop. I do not have a specific video reference on this scenario though
@Nomadic0ne
@Nomadic0ne 7 месяцев назад
@@RezaDorrani Ah, ok, so the SharePoint "Update Item" and "Create Item" actions in Flow function as loops? I notice that the error message is blank when I use the actions()?['error']?['message'] (or one of the variants), but the raw output shows the error message as being directly under ['outputs']?['body']?['message']. Is this because the SharePoint actions are http requests in the background?
@RezaDorrani
@RezaDorrani 7 месяцев назад
I do not remember the specifics. I would recommend posting your query on forums at powerusers.microsoft.com/ in case someone has done something similar.
@generice3398
@generice3398 6 месяцев назад
Hi Reza, great video, I finally got around to creating my own Error Handling Template for my department to use. One question, in the last segment, where you handle the Apply to each and the array created from an error in the Create item action. How can I incorporate that functionality into the previous segment's Try/Catch solution? Does every Apply to each scenario need its own check?
@RezaDorrani
@RezaDorrani 6 месяцев назад
Apply to each is the challenge. You would need its own check if you need detailed information and error handling within the loop.
@dankirchner4460
@dankirchner4460 10 месяцев назад
Thanks Reza! Great as always sir. I have a quick question. Is there a way to throw an error message to the user in power apps if a flow doesn't run? I'm just thinking of a flow doesn't run then the user could just be sitting there waiting and not knowing there's an error and the error has been reported to the developer. Appreciate any help you can give on this idea!
@RezaDorrani
@RezaDorrani 10 месяцев назад
Not sure about this one to be honest. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@DataisKing
@DataisKing Год назад
Exactly what I was looking for. Thanks!!!!
@RezaDorrani
@RezaDorrani Год назад
Welcome
@AshishSoni-kv6pr
@AshishSoni-kv6pr Год назад
Great explanation
@RezaDorrani
@RezaDorrani Год назад
Thanks
@robpi2563
@robpi2563 Год назад
Hi Reza, I have a question I hope is an I have the action "Add user to group" (the Azure AD one) When I try to create the expression actions('Add user to group') I'm getting error: Correct to include a valid reference to 'Add user to group' for the input parameter(s) of action 'Send_an_email_(V2)'. Is there something wrong with the syntax because my action has spaces in the name (I notice yours just has a single word)? If so how do you handle those?
@RezaDorrani
@RezaDorrani Год назад
Spaces are to be replaced with _ during expressions
@Denis-xh9zz
@Denis-xh9zz Год назад
Hey thank you for the video, it helps me a lot!!! But i have one question. I do the same exact thing, but in my Try-block i have the action "Run a flow built with Power Automate for desktop 2". And when i add in the Filter Array the expression "result('Run_a_flow_built_with_Power_Automate_for_desktop_2')" it gives me an it gives me an error message . I don't know why.
@RezaDorrani
@RezaDorrani Год назад
I have not tried this with power automate desktop. You would need to use result action on a scope. Try adding your PAD flow action in a scope.
@Mx81
@Mx81 Год назад
Thanks a lot - as always. 😂👍🏻😎 Maybe I have missed it, but could you do also a video about error handling when using a cloud flow triggered by Power Apps?
@RezaDorrani
@RezaDorrani Год назад
Thanks Max. When I do a video on power app error handling, I would include that scenario. I have nothing in my backlog around this since very few have requested this topic.
@vigneshm7011
@vigneshm7011 Год назад
One another great video Reza 👏🎉
@RezaDorrani
@RezaDorrani Год назад
Thanks Vignesh
@videobewerker111
@videobewerker111 9 месяцев назад
Is it possible to restart a flow at the point where there was a failure? In my case people had signed a document but afterwards there was a failure when updating the sharepoint data. I corrected the failure and want to start again with the update of sharepoint ...
@RezaDorrani
@RezaDorrani 9 месяцев назад
Flow does not have an option inbuilt to restart from point of failure
@pauljhongacutan9782
@pauljhongacutan9782 Год назад
Excelent video and easy to understand the explanations. Quick question though, we know that the "Result" expression only gets the top level actions. Do you know any ways to get the error details from the succeeding levels or from the actions like (If Statement, Switch or within a nested Scope)?
@RezaDorrani
@RezaDorrani Год назад
That is not an option with results. You would need to add error handling inside the levels like loops etc.
@ScatPackJack
@ScatPackJack 3 месяца назад
Great video! Only change I made was change action('Action_Name)?['error']?['message'] to outputs(Action_Name')?['body']?['error']?['message']. Any reason why you used action() instead of output()? Action() returned null error for me
@RezaDorrani
@RezaDorrani 3 месяца назад
Honestly its been a while and I do not specifically remember the reason why
@alh8439
@alh8439 Год назад
Thank you so much for this video. I have a quick question. I would like to get the error from a Parse JSON action. The flow is throwing the error, "Correct to include a valid reference to 'Parse JSON' for the input parameter(s) of action' when using the expression: actions('Parse JSON')?['error']?['message'].
@RezaDorrani
@RezaDorrani Год назад
I have not tried this with Parse JSON hence not sure. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@naveenkarla
@naveenkarla Год назад
Awesome Video Thanks Reza!. Do you recommend retry policy for any specific error types. Also i believe result function goes only one level deep. Thank you
@RezaDorrani
@RezaDorrani Год назад
Video shows a pattern apart from result function for loop scenarios. Retry policy default is 4 exponential retires which is good but there could be scenarios where you would want to set a fixed interval and have more tries like when calling an API.
@ChristianPecksteiner
@ChristianPecksteiner Год назад
Great tutorial again!!
@RezaDorrani
@RezaDorrani Год назад
Thank you! Cheers!
@pripri804
@pripri804 Год назад
Amazing video ! Thanks so much !!
@RezaDorrani
@RezaDorrani Год назад
Most welcome
@cdunsford
@cdunsford 7 месяцев назад
You rock, as always Reza!
@simmyjer
@simmyjer Год назад
Hi Reza! This is great stuff. Keep it up. I got a quick question. What expression should I use in the 'Filter Query Expression' for 'Is skipped'?
@RezaDorrani
@RezaDorrani Год назад
When flow runs, check output of result(‘try’) You will get information about all actions in try and if any action was skipped, you will get its code/value. I don’t remember on top of my head.
@simmyjer
@simmyjer Год назад
@@RezaDorrani Sorry, my question might not be clear. If I want to include "Is skipped", what should I replace 'XXXXXX' with? @or(equals(item()?['Status'], 'Failed'),equals(item()?['Status'], 'TimedOut'),equals(item()?['Status'], 'XXXXXX') )
@RezaDorrani
@RezaDorrani Год назад
@@simmyjer My answer is same. I dont know the exact string. You would need to check.
@simmyjer
@simmyjer Год назад
@@RezaDorrani ah i see. Thanks!
@mohammedmerchant5628
@mohammedmerchant5628 Год назад
Hi Reza, this tutorial was very helpful in making any Flow more robust. I'd like to know if a Flow is triggered from Power Apps, how can I import your template to start using it? For my Flow through the App, I recreated the steps you outlined but doing that each time isn't viable, so I was wondering how to go about using the template through Power Apps?
@RezaDorrani
@RezaDorrani Год назад
Create flow from template and change the trigger to power apps. Then go to your power app and connect to that flow.
@mikefactorial
@mikefactorial Год назад
Thanks Reza!
@RezaDorrani
@RezaDorrani Год назад
Most welcome Mike!
@santanup8567
@santanup8567 Год назад
Amazing concept ☺️
@RezaDorrani
@RezaDorrani Год назад
Glad you liked it
@mevankattan9988
@mevankattan9988 Год назад
Thank you for this great video! Sorry if I've missed this (Ive watched the whole video) but how do you handle errors if you have an Apply to Each loop but there are a lot of actions inside (multiple conditions/actions etc). How can I handle this?
@RezaDorrani
@RezaDorrani Год назад
You could create scope inside apply to each as well.
@VikasKottari
@VikasKottari Год назад
Very informative and helpful video. thanks Reza
@RezaDorrani
@RezaDorrani Год назад
Most welcome
@user-re6im7dm1x
@user-re6im7dm1x 3 месяца назад
thank you so much for this video.
@patricia294
@patricia294 Год назад
You are the master! Thank you.
@RezaDorrani
@RezaDorrani Год назад
Wow! Thanks
@disturbedcarrot
@disturbedcarrot Год назад
Gold! Thank you! Is there a way to view logs across flows or hook it up to Insights etc.?
@RezaDorrani
@RezaDorrani Год назад
You can connect to insights using connector but you would need to log data into insights. Flow will not automatically add it.
@soaresmiltinho
@soaresmiltinho 11 месяцев назад
Thank you Reza
@RezaDorrani
@RezaDorrani 11 месяцев назад
Welcome
@ambarish360
@ambarish360 Год назад
You are great as always.😊 Any videos that you have done or you have with you or you are planning to do in improving the performance of a Canvas app with respect to patch, data retrieval and other operations for very large data sets.
@RezaDorrani
@RezaDorrani Год назад
Thanks! Check ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-_2jDGqtqqi8.html & ru-vid.com/group/PLTyFh-qDKAiE6ia-D94Qk5-AzpN4dqOmD
@ambarish360
@ambarish360 Год назад
@@RezaDorrani thanks a lot for such an spontaneous response
@thechristianinitiative1445
@thechristianinitiative1445 Год назад
Lets say I have an excel with a 300 fields. Lets also say that I have a lot of expressions manipulating the data before creating new items in SP list. An expression fails for one of the records in excel. Is there a way to know exaclty which field the error is in. It seems like It can only tell me which expression failed but does not tell me on which field the expression failed. With thousands of fields, it would be imposible to pin point where the error took place. Does this make sense?
@RezaDorrani
@RezaDorrani Год назад
Makes sense. We are limited to the error message which we are provided in flow. The loop pattern shown in video, will at-least hep provide details of which item failed and which expression which would help to some extent.
@thechristianinitiative1445
@thechristianinitiative1445 Год назад
@@RezaDorrani Okay thank you! I have been trying to impliment something for a while and just wanted to get your opinion. I have a customer with large excel files that fail often and its hard to pin point errors. Maybe this will be something addressed in the future.
@RezaDorrani
@RezaDorrani Год назад
@@thechristianinitiative1445 In the video, I show an example of data being loaded from excel to SharePoint and how to notify errors for loop scenarios, but we are limited to what error messages are provided.
@PA-nm9fc
@PA-nm9fc Год назад
I loved your video. I have implemented the flow with this solution, and I am getting an error saying "Item not found" however the table is showing and empty message. The Filter Output shows "error": { "message": "Item not found"}. However, the on the Table, under message or error, it is empty. If I force an error div(1,0) the message shows on the table.
@RezaDorrani
@RezaDorrani Год назад
Not sure about this one. I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@adamgray993
@adamgray993 Год назад
Thanks Reza, this is great. Is there a technique for getting errors from actions inside nested scopes?
@RezaDorrani
@RezaDorrani Год назад
I showed one way in video. You would have to handle it within the loop.
@tracyqian1414
@tracyqian1414 Год назад
Hi Reza, thanks a lot for your video as always! May I know how to do the error handling if I have many steps in Apply to each? How can I catch the error message for each step? Thanks in advance.
@RezaDorrani
@RezaDorrani Год назад
I believe I did show how to catch error within apply to each in video. Its later in the video.
@praveeng3921
@praveeng3921 Год назад
Awesome, your helping me alot.
@RezaDorrani
@RezaDorrani Год назад
Glad to help
@user-wm1bg5xi3q
@user-wm1bg5xi3q 6 месяцев назад
The link generation for the workflow run does not work if the flow is shared with other accounts. Then the link has to include a "shared" in its url. Is there a way to find out if a workflow is shared or not during runtime?
@RezaDorrani
@RezaDorrani 6 месяцев назад
Not sure the steps to find out if workflow is shared at runtime
@denisskorikov6234
@denisskorikov6234 Год назад
Good job! Very informative!
@RezaDorrani
@RezaDorrani Год назад
Thanks Denis
@SyedMHusnain
@SyedMHusnain 29 дней назад
Hello, I am trying to make an automatically reminder email generated through power automate. But I am constantly receiving this particular error. The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerBody()?['entity']?['Power BI values']' is of type 'Null'. The result must be a valid array. Can you kindly guide me in this.
@RezaDorrani
@RezaDorrani 29 дней назад
I have not experienced the mentioned issue and hence not sure what the cause for it could be. I will recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com
@olisaemekaaghabuilo8688
@olisaemekaaghabuilo8688 11 месяцев назад
Fantastic Video
@RezaDorrani
@RezaDorrani 11 месяцев назад
Thank you very much!
@sofiaarias5795
@sofiaarias5795 5 дней назад
Hi! Is there a way to capture also the errors inside conditions? I'd implemented this solution and its fantastic but seems it doesn't work when an action inside a condition fails. I mean, it sends the information but its not very helpfull, like "An action failed. No dependent actions succeeded.". Thanks in advance!
@RezaDorrani
@RezaDorrani 5 дней назад
You would probably need a separate try catch inside that condition to get the error
@mardithpascua8112
@mardithpascua8112 8 месяцев назад
How do you handle error in specific item in apply to each? Item 1 - has error in send email but the variables already have the values, and then it proceeds next step and then the value from item 1 has been carried over in item 2
@RezaDorrani
@RezaDorrani 8 месяцев назад
You would need to add separate try catch within loop. I do not have a specific video reference on it
@aravindranganathan5516
@aravindranganathan5516 5 месяцев назад
Can I use this flow for logic apps as well because I have a similar flow as the third approach since, I have a foreach I had to go with the append to array approach, but it seems to error out saying inputs in action are not defined in the template?
@RezaDorrani
@RezaDorrani 5 месяцев назад
I have done little work with logic apps so not sure but my guess is Yes
@aravindranganathan5516
@aravindranganathan5516 4 месяца назад
@@RezaDorrani thanks for the in detail video content it worked for my logic app situation, there was not a single video on youtube that showed how to use scopes with a loop inside it except yours.
@RezaDorrani
@RezaDorrani 4 месяца назад
@@aravindranganathan5516 Awesome
@kenekholm8325
@kenekholm8325 Год назад
Really nice stuff 👍
@RezaDorrani
@RezaDorrani Год назад
Thank You
@julien8979
@julien8979 Год назад
Hello Reza, thanks for sharing. Will it be possible to get the remaining flow duration before it gets cancelled? Example: we are all aware of 30 days flow running limitations. Assuming that, you are sending daily reminders to the approvals it would be great to show that the flow will be canceled after X days, please take your decision". Any idea how we would achieve it?
@RezaDorrani
@RezaDorrani Год назад
Video does not show approvals :) I am not aware of a way to track number of days left for a flow. You would probably need another flow to keep a track of it.
@darryle1070
@darryle1070 Год назад
Hi, first, thank you for all your great videos. Regarding this video, depending on the error, I am finding that the error message is in different levels. So far I have found the error message at these levels. item()?['error']?['message'] item()?['outputs']?['error']?['message'] item()?['outputs']?['body']?['error']?['message'] I put 3 error messages in my table. Am I wrong? Is there a way get the message more generically?
@RezaDorrani
@RezaDorrani Год назад
Thats right. It depends upon the actions utilized. Also depends on wether its running a loop scenario. No way to generalize. You could read from all 3 and run a coalesce to grab the one that returns the result.
@joywindsouza817
@joywindsouza817 5 месяцев назад
What if there are lot of actions(outside loop) and also a loop. How do we handle exceptions in such situation?
@RezaDorrani
@RezaDorrani 5 месяцев назад
You would need to repeat that pattern for outside and inside. Its starts getting complex.
@dynamics365series2
@dynamics365series2 Год назад
How can I get error from two actions? i.e "Create Item" and "List Rows" in the "actions" expression?
@RezaDorrani
@RezaDorrani Год назад
When an error occurs, you would want to stop the flow there and not move ahead. There could be certain scenarios which would be more complex, like errors in a loop.
@investrules2746
@investrules2746 Год назад
Excellent Video - sorry for this question but how do i import the linked template in Github into My Flows ? I tried to download the zip and then import as a Solution, and I tried the Legacy import, but both failed for me. Thanks for your help
@RezaDorrani
@RezaDorrani Год назад
Import zip as flow (legacy) not solutions. Many have imported this without issues. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@raj7sam
@raj7sam Год назад
Very much informative, please share the flow template with us if possible
@RezaDorrani
@RezaDorrani Год назад
In the video I mentioned link is in video description to download the template
@user-ft9nc6ci6h
@user-ft9nc6ci6h Год назад
Wondering, if there is also any way to update the "Approval Status" column in sharepoint as "Failed" once the flow fails?
@RezaDorrani
@RezaDorrani Год назад
Im not sure if that is possible
@user-ft9nc6ci6h
@user-ft9nc6ci6h Год назад
​@@RezaDorrani Is there any other way as we have multi level approval flow and it might fail at any step and the user still sees the status as "Pending Approval" even though the flow is failed. Appreciate your help!
@RezaDorrani
@RezaDorrani Год назад
@@user-ft9nc6ci6h I will have to try it out to know its feasibility. I recommend posting your query on forums at powerusers.microsoft.com
@user-ft9nc6ci6h
@user-ft9nc6ci6h Год назад
@@RezaDorrani Thank you :)
@shellybarrett2960
@shellybarrett2960 Год назад
Good evening Reza, This video was great. One issue I came across and not sure if this is an admin issue. But the link to the workflow gave me an authorization error message. "Error: Authentication failed." Do you know why this may happen? I used the same try-and-catch components.
@RezaDorrani
@RezaDorrani Год назад
I have not faced this issue. I would recommend posting the issue with screenshots on the forums at powerusers.microsoft.com
@HeyTezza
@HeyTezza Год назад
Yesterday I got an error on a flow sending info from a form to a SharePoint list, a column was originally set to 50 character text, I updated this over a month ago, it still seemed to fail with 65 characters saying column was set to 50 characters, I checked SharePoint, nope it was still 100. I ended up creating another column and copying over the data from the first. But is there a way to refresh it so it gets the new column settings once changed?
@RezaDorrani
@RezaDorrani Год назад
That seems weird. It should pick up the new column settings automatically. There is no concept of refresh.
@HeyTezza
@HeyTezza Год назад
@@RezaDorrani yeah I thought so too, ah well I found a workaround just weird hey :)
@melbha_varsha
@melbha_varsha Год назад
How to Build power applications which utilizes graphs available in canvas App
@RezaDorrani
@RezaDorrani Год назад
I make videos when I get multiple requests on a particular topic. Every quarter I ask subscribers for topic suggestions on the Community Tab of my RU-vid channel. Subscribers vote for topics and the highest voted topics get added to my backlog. Make sure you post this in the next topic suggestion post. If it gets a lot of votes, I will add it to my backlog.
@AzharHossain
@AzharHossain Год назад
actions('action_name)?['error']?['message'] .... No longer seems to be working, is there a new expression to capture the error message?
@RezaDorrani
@RezaDorrani Год назад
I have not come across the mentioned issue and hence not sure what the fix for your issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@janicemendoza376
@janicemendoza376 4 месяца назад
Thanks for this Reza! I am running into a 404 error when pasting the link to the workflow though. Any thoughts? Thanks!
@RezaDorrani
@RezaDorrani 4 месяца назад
I have not come across this issue and hence not sure what is the cause for your issue. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
@dynamics365series2
@dynamics365series2 Год назад
Which app do you use for your video recording and narration?
@RezaDorrani
@RezaDorrani Год назад
Camtasia
@JohnnyTwoFingers
@JohnnyTwoFingers 9 месяцев назад
I am using your expression in an email and the url that is output is the expression itself, rather than an evaluation of it - any ideas??
@RezaDorrani
@RezaDorrani 9 месяцев назад
No idea. I recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@dynamics365series2
@dynamics365series2 Год назад
I only got an email notification when the flow complete run after 3hrs. Is there any way to get the error notification while the flow is running rather than waiting till the end of the flow?
@RezaDorrani
@RezaDorrani Год назад
I dont think so thats the case. When the flow fails, it stops immediately and error notification should be sent.
@dynamics365series2
@dynamics365series2 Год назад
@@RezaDorrani yes when the flow failed, it sent email notification immediately. But the flow runs for over 4hrs and then it failed the flow stops and send the notification immediately. Is there any way to improve the performance of this flow to migrate data in lesser time? I am migrating over 20k data from SQL to Dataverse.
@RezaDorrani
@RezaDorrani Год назад
@@dynamics365series2 Im not sure what needs to be done without looking at the flow or use case. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@user-zb9hs5dh2d
@user-zb9hs5dh2d 6 месяцев назад
Hi Raza great video. However, need your kind expertise here. I followed your steps and in the Scope (Try) I have a set stored procedure actions to be executed from a sql server. my first action timedout (Status: GatewayTimeout) and my timing on the Try block is already 10m .However, the catch block doesn't seems to be working? so as you know the Gateway timeout is only 120 second and this particular action is currently on 12 mins and keep trying. Could you please help? looking forward to hearing back from you
@user-zb9hs5dh2d
@user-zb9hs5dh2d 6 месяцев назад
ok I found that if I change the Retry Policy to None from each action setting that will solve it! Now I'm trying to build the part where I rollback the executed Stored procedure incase of Timeout or failed. As my Try block involve a sequence of stored procedure and the rule is if any of these failed then I need to rollback all. any thoughts or logic how to do that controlled?
@RezaDorrani
@RezaDorrani 6 месяцев назад
Not sure what options one has for this. I recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com
@bhanuprakashbysani3071
@bhanuprakashbysani3071 Год назад
Great Video, how to handle a scenario when a respond to power automate or apps action failed due to timeout. how to handle such scenario in powerapps?
@RezaDorrani
@RezaDorrani Год назад
That would be covered when I do a video on Power Apps error handling. Idea would be to catch error as show in this video and send a response back to power apps.
@bhanuprakashbysani3071
@bhanuprakashbysani3071 Год назад
Thank you for the response...
@ravivishwamitra723
@ravivishwamitra723 Год назад
Hi, Do you have any video or error handling way for desktop flows ?
@RezaDorrani
@RezaDorrani Год назад
I do not have one for Desktop flows
@CSEKAVIYAJ
@CSEKAVIYAJ Год назад
Can you tell me why my flow shows as failed, even after changing 'configure run after-has failed' and the further steps till the end ran successfully?
@RezaDorrani
@RezaDorrani Год назад
Not sure. There must be something else thats failing or a parallel branch thats not completing. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@CSEKAVIYAJ
@CSEKAVIYAJ Год назад
@@RezaDorrani So, a parallel branch from the action that might fail doesn't run, would make the flow fail?
@RezaDorrani
@RezaDorrani Год назад
@@CSEKAVIYAJ I don’t exactly remember but there is some concept to it. Il recommend checking on forums as I did see some posts on this powerusers.microsoft.com
@CSEKAVIYAJ
@CSEKAVIYAJ Год назад
@@RezaDorrani ok i'll check, thanks.
Далее
SIGMA ENVY IS UNTOUCHABLE 🔥 #insideout2
00:10
Просмотров 2,4 млн
Exception Handling in PowerApps
14:46
Просмотров 10 тыс.
Power Platform Service Account Vs. Service Principal
33:26
SIGMA ENVY IS UNTOUCHABLE 🔥 #insideout2
00:10
Просмотров 2,4 млн