I intend to have two try catch activities, main and inner so I built two string builder, MailContentBuilderOuter and MailContentBuilderInner to catch errors in catches field. But i’m not able to see the content in the two assigned variable before sending out the email. Please advise.
Can you change scope of the variables to outermost?
Can you share your workflow as a file, if possible?
Thank you for sharing.
If you want to check content of two StringBuilder outside try catch activity, can you try scope of variables to Main Sequence as the following?
If your problem isn’t the above, can you elaborate it?
I want to try whether the input is apple. If not, it will throw the msg and saved the msg in inner catch but it will continue till count of 5. If the input is apple, it will saved the msg in the outer catch. Possible? From there, I can send the email to two different group of user
I suppose you don’t need to use TryCatch in this case.
How about the following sample?
Main.xaml (11.7 KB)
Possible to do it using two try catches activities ? i’m trying it for my project as this is just a small part of it. Thank you.
Probably, it’s not impossible. However, in general, it’s not very good idea to handle normal case as exception, I think.
ok Thank you.