Process.xamlにSystem.Exception変数を定義する必要性

こんばんは。
UiPath Studio EnterPrise Edition 23.10.0を利用中の者です。
会社でExcelを開いて1行目から下方向へ順次読み込むFrameworkを使って開発しています。

Main.xamlからTryCatchのTry BlockでProcess.xamlを呼び出して1行分の処理を実行しますが、System.Exception変数につき分からない点があるのでご教示ください。
Main.xamlの変数パネルにexec_SystemExceptionという名前のSystem.Exception変数があり、Process.xamlの変数パネルにも同じ名前のexec_SystemExceptionという名前のSystem.Exception変数があります。
TryCatchアクティビティの仕組み上、Try Blockで発生したアプリケーション例外は、Catch Blockで受けると思うので、Process.xamlにSystem.Exception変数を定義する必要は無い気がしますが、いかがでしょうか。
もし、Process.xamlにSystem.Exception変数を定義する必要性があるのであれば、その必要性の説明をお願い致します。

@gorby ,

If you do not have any recovery logic like alternative approach in catch block when any system exception occurred in Process, you don’t require a variable for it in Process.xaml.

Any error in Process.xaml will be thrown to the parent workflow that is Main workflow.

Thanks,
Ashok :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.