I were tried to catch exceptions from multiple activities
but when I tested, it does not work as my expectations.
any recommendations for using try-catch for multiple activities?
I were tried to catch exceptions from multiple activities
but when I tested, it does not work as my expectations.
any recommendations for using try-catch for multiple activities?
Hi @mountie
Could you share the workflow screenshots. Have you surrounded the multiple try catches within a single try catch then it wonβt catch the exception.
Regards
You just need to keep all the multiple activities into one single try catchβ¦then any activity fails the catch would be activated
Hope this helpsβ¦if not a little more explanation or some screenshot about your process would help
Cheers
I did. understood. Single try catch. got it.
thanks
my global try catch workflow


but it does not catch the exception.
do I need to put try-catch on depth 1?
Is the click activity inside the try block?
Or the invoke code of that click is inside try catch?
If yes then it will go to the respective catch
Cheers
yes. multiple click activities.
what is respective catch? I can not find those activity at StudioX (the community version of Studio)
Hi @mountie
Add another catch as system exception and it will be the default exception so what ever the exception occurred it will be catched into that.
Regards
You added multiple catches rightβ¦so basically each catch block catches specific type of exceptions specified
Are you on studio or studiox?
And studiox is not community version of studioβ¦
Cheers
now only one try-catch globally.
using StudioX.
Iβm now testing with System Exception regenerating the exception
I just tried in studioX and try catch is workign as expected
Can you show your workflow
cheers
too many activites (over 100?)
13 groups.
each group have 10 ~ 20 activites.
this video does not help.
per-activity level try-catch works well.
global try-catch does not work.
Hi @mountie
Can I know what you have mentioned within the global and within try catch handlers
Regards
when I put try-catch on single activity, it works well.
but exception handling became very difficult for hundreds activities.
so I tries to global (means one single try-catch for all activities) try-catch.
but when I put all activities to A try-catch, unable to catch exceptions with System.Exception or specific exceptions aswell.