Hello Gabi. Thank you for explanation. It is very useful in understanding how throw and rethrow works. As a quick suggestion would be nice if you can upload the xaml (maybe on uipath forum) so we can replicate your example.
Hi Emilia. great suggestion. I posted the XAML file in the UiPath Forum and linked it in the comments of this video, as well: forum.uipath.com/t/how-to-use-throw-and-rethrow/11772/38
Thanks for another excellent video. Do you have a video or could I request a video to show how to reschedule a job on orchestrator in case of a business or system exception? For example, I have a job that starts at a set time which updates a Excel workbook. If the workbook is open by someone else and I try to do a read range on it I would like to email the person(s) that have the workbook open asking them to exit the workbook and then reschedule the job to start 30 mins later and then abandon trying to run the job after say 3 tries. It doesn't seem like Orchestrator has that as a built-in capability.
Hi Ken. This is a great idea. I did not try this out so far, but I will have a look and let you know if I find an easy solution. I would imagine it could be solved with some API calls, but I have to try some things out. Another idea would be to add a queue item when you catch the exception, and increment there the number of fails. And create a Queue trigger that will start as soon as there is an item on that queue. But I am not sure how to introduce the 30min delay in an elegant way, other than send this number with the queue item and include a delay activity for whatever value defined on the queue. This is not ideal, as the bot would then be in use for all this time and not allow another process to run in parallel. I will think about it some more.
@@UiPathHacks thanks for considering the thought. I thought about updating an asset and having the bot scheduled every 30 mins and if current time was greater than asset time let the bot run. Again, not very elegant.
What an amazing explanation with a short and crisp video 👍🏻
Excellent work. Thank you for sharing.
Thank you, Ken !
Hello Gabi. Thank you for explanation. It is very useful in understanding how throw and rethrow works. As a quick suggestion would be nice if you can upload the xaml (maybe on uipath forum) so we can replicate your example.
Hi Emilia. great suggestion. I posted the XAML file in the UiPath Forum and linked it in the comments of this video, as well:
forum.uipath.com/t/how-to-use-throw-and-rethrow/11772/38
You are very good in this thing
thank you !
Enlightened 💥
Glad to be of service :)
Thanks for another excellent video. Do you have a video or could I request a video to show how to reschedule a job on orchestrator in case of a business or system exception? For example, I have a job that starts at a set time which updates a Excel workbook. If the workbook is open by someone else and I try to do a read range on it I would like to email the person(s) that have the workbook open asking them to exit the workbook and then reschedule the job to start 30 mins later and then abandon trying to run the job after say 3 tries. It doesn't seem like Orchestrator has that as a built-in capability.
Hi Ken. This is a great idea. I did not try this out so far, but I will have a look and let you know if I find an easy solution. I would imagine it could be solved with some API calls, but I have to try some things out.
Another idea would be to add a queue item when you catch the exception, and increment there the number of fails. And create a Queue trigger that will start as soon as there is an item on that queue. But I am not sure how to introduce the 30min delay in an elegant way, other than send this number with the queue item and include a delay activity for whatever value defined on the queue. This is not ideal, as the bot would then be in use for all this time and not allow another process to run in parallel.
I will think about it some more.
@@UiPathHacks thanks for considering the thought. I thought about updating an asset and having the bot scheduled every 30 mins and if current time was greater than asset time let the bot run. Again, not very elegant.
Excellent
Thank you so much 😀
The link to the XAML file I uploaded in the UiPath Forum:
forum.uipath.com/t/how-to-use-throw-and-rethrow/11772/38