studioXでForeachrow(※以下CurrentRow1)の中に、さらに別のForeachrow(※以下CurrentRow2)を設定しています。
CurrentRow2のループの中で条件分岐(If)を設け、その分岐の中でExit Loopを使いましたが、以下エラーが表示されロボが停止しました。
想定では、CurrentRow2のループだけ抜けて、CurrentRow1のループの処理の続きに移ることを想定していましたが、CurrentRow1のループも抜けているような気がしています。
エラー内容=============================
Something went wrong with Excel.
Activity Excel For Each Row (Excel For Each Row) failed:
Only activities which have been requested to cancel can call MarkCanceled. Check ActivityInstance.HasCancelBeenRequested before calling this method.
You can find the activity following this path:
Main > Use Excel File > Excel For Each Row.
Excel file path: [string.Format(“{0}\新しいフォルダー (3)\ロボ使用ファイル.xlsx”, Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory))]
=================================
※CurrentRow1 = Excel file path: [string.Format(“{0}\新しいフォルダー (3)\ロボ使用ファイル.xlsx”,
Exit Loopはすべてのループを抜けてしまうという仕様であってますでしょうか。
※StudioはCurrentRow2をBreakで抜けたら、CurrentRow1のループ処理に戻るので確認したいです。