Thank you for the insightful video. It helped me understand how to abbort a workflow. However, is it possible to end the workflow without an error message? Many greetings, Chris
Thank you so much Anmol, I really appreciate it, for your time to read my queries and made a video on the topic, I am sorry it was a spelling mistake the second false should be true, I saw the video you posted and I must say that it is a very good and knowledgeable tutorial, I really congratulate you on this, I will try it by myself and get back to you if will have any questions. Once again thank you so much for your time and God bless you. Thanks Kashif
Hi Anmol, I tried/practiced at my end to understand better the concept about "how to terminate the workflow", I have couple of doubts/questions. 1:- When we use the activity "Terminate Workflow" to terminate the workflow, we need to pass either "Exception" or "Reason" property, and it show the exception error window with the message (Title:- "Runtime execution error" and the message we passed in the "Reason" property and the UiPath Exception, however I don't want this I just want to show a simple message box that says like "We are terminating the workflow with some reason" and with OK button only, It will clearly show an end user a simple message and the user will know that due to this reason workflow is terminating, however if we use the default error window (Terminate Workflow Error Window) then the user will get confuse with the exception type and run time error kind of things/window. 2:- Suppose I have a main workflow and in this workflow I am calling another workflow through the activity "Invoke Workflow File", and in this (calling workflow) in between the activity I used the activity "Terminate Workflow" to exit the workflow, like you described in your video, but the activity "Terminate Workflow" always throws an run time error window message for the reason why you are terminating the workflow that I don't want, I just want that in the calling workflow that I check a condition and if the condition is false then exit this workflow without any error massage and don't run the remaining activities in the calling workflow and return to the main workflow and continue to execute the remaining activities in the main workflow after the calling workflow through "Invoke Workflow File". 3:- Suppose I have a main workflow and in this workflow I am calling another workflow through the activity "Invoke Workflow File", and in the calling workflow when I use the activity "Terminate Workflow" to terminate the workflow, will it terminate the whole workflow with main workflow as well? or this will only exit the calling workflow and will continue to execute the remaining activities in the main workflow after the calling workflow through "Invoke Workflow File". I hope, I described my doubts/questions clearly to understand you better. As always, thanks again for this video tutorial, please take good care of yourself and your family, stay safe and healthy, have a nice day ahead, God bless you. Thanks Kashif
@@kashifkhanspecial Hi Kashif, 1. If you want a message box sort of thing without the Runtime error, then Terminate workflow in not the answer probably. I would suggest to go with branching statements clubbed with proper exception handling, consume the exception and show a message box. 2. If you terminate, the entire workflow along with parent workflow would be terminated. If you want to keep executing the parent workflow, use Try-Catch and consume the exception in child workflow so that main can keep running. I hope the answers help clear your doubt. Thanks & stay safe, Anmol
Thank you for the insightful video. It helped me understand how to abbort a workflow. However, is it possible to end the workflow without an error message?
Many greetings, Chris
Thank you so much Anmol, I really appreciate it, for your time to read my queries and made a video on the topic, I am sorry it was a spelling mistake the second false should be true, I saw the video you posted and I must say that it is a very good and knowledgeable tutorial, I really congratulate you on this, I will try it by myself and get back to you if will have any questions.
Once again thank you so much for your time and God bless you.
Thanks
Kashif
Pleasure Kashif, hoping to keep helping you and others.
Kind Regards,
Anmol
Hi Anmol, I tried/practiced at my end to understand better the concept about "how to terminate the workflow", I have couple of doubts/questions.
1:- When we use the activity "Terminate Workflow" to terminate the workflow, we need to pass either "Exception" or "Reason" property, and it show the exception error window with the message (Title:- "Runtime execution error" and the message we passed in the "Reason" property and the UiPath Exception, however I don't want this I just want to show a simple message box that says like "We are terminating the workflow with some reason" and with OK button only, It will clearly show an end user a simple message and the user will know that due to this reason workflow is terminating, however if we use the default error window (Terminate Workflow Error Window) then the user will get confuse with the exception type and run time error kind of things/window.
2:- Suppose I have a main workflow and in this workflow I am calling another workflow through the activity "Invoke Workflow File", and in this (calling workflow) in between the activity I used the activity "Terminate Workflow" to exit the workflow, like you described in your video, but the activity "Terminate Workflow" always throws an run time error window message for the reason why you are terminating the workflow that I don't want, I just want that in the calling workflow that I check a condition and if the condition is false then exit this workflow without any error massage and don't run the remaining activities in the calling workflow and return to the main workflow and continue to execute the remaining activities in the main workflow after the calling workflow through "Invoke Workflow File".
3:- Suppose I have a main workflow and in this workflow I am calling another workflow through the activity "Invoke Workflow File", and in the calling workflow when I use the activity "Terminate Workflow" to terminate the workflow, will it terminate the whole workflow with main workflow as well? or this will only exit the calling workflow and will continue to execute the remaining activities in the main workflow after the calling workflow through "Invoke Workflow File".
I hope, I described my doubts/questions clearly to understand you better.
As always, thanks again for this video tutorial, please take good care of yourself and your family, stay safe and healthy, have a nice day ahead, God bless you.
Thanks
Kashif
@@kashifkhanspecial Hi Kashif,
1. If you want a message box sort of thing without the Runtime error, then Terminate workflow in not the answer probably. I would suggest to go with branching statements clubbed with proper exception handling, consume the exception and show a message box.
2. If you terminate, the entire workflow along with parent workflow would be terminated. If you want to keep executing the parent workflow, use Try-Catch and consume the exception in child workflow so that main can keep running.
I hope the answers help clear your doubt.
Thanks & stay safe,
Anmol