UiPathのデバッグ機能を使う際に、「例外発生時に続行」ボタンを押していると、ワークフローが想定通りの動きをしてくれます。
しかし、これを押していないと、「繰り返し(各UI要素):位置0に行がありません。」とエラーが出てしまい、停まってしまいます。
「例外発生時に続行」している状態でワークフローをパブリッシュして、オーケストレーターにアップロードしたいのですが、どうすれば良いでしょうか?
オーケストレーターでも「例外発生時に続行」で動かすことは可能でしょうか?
環境の仕様上、本番で試すことができず、どのような動きになるか分かりません。
ご教示いただけると幸いです。よろしくお願いいたします。
こんにちは
パブリッシュしたものをAssitantからの実行やOCからの無人実行する場合、Studio上の「実行」(デバッグではない)と同じになりますので、まずはこちらで挙動を確認すれば良いかと思います。
なお「例外発生時に続行」ボタンは、デバッグ実行時に、例外発生じに停止しないモードになります。
“Continue on Exception” button in Debug mode only applies during debugging and does not affect execution in Orchestrator.
To prevent the – “No row at position 0” error, use a Try-Catch block, check if the DataTable has rows before accessing them, or enable the ContinueOnError property where applicable.
Hey @topology271828 this feature Continue on Exception only work on Debugging Mode to help you while testing your Process . and any exception occur at certain point.so you can skip it. and go to the next seq or in the new xaml . but not in the Run Mode .so before publish your package make sure to Resolve that issue which might cause your error and then publish it to Orchestrator.
cheers
「例外発生時に続行」はデバッグ時にのみ使う機能のため、ワークフローをパブリッシュして以降の処理とは無関係です。
Hi @topology271828
First, enable “Continue on Exception” in your workflow by configuring it in activities like Try Catch. Then, in UiPath Studio, click on Publish and select Orchestrator as the destination. Enter the Orchestrator URL and the folder where you want to publish the workflow, and publish it. The workflow will be available in Orchestrator under the Processes section and ready to be run.