gorby
(Extraordinary UiPath Forum Contributor 2024)
September 4, 2023, 10:20am
1
UiPath Studio 2023.6.1 Community Editionを利用中の初心者です。
Main.xamlからProcess.xamlをinvoke workflow fileアクティビティで呼び出していますが、
Main.xaml側の引数にBreakTrigger~という見慣れない引数が掲載されています(添付画像上の黒丸)。呼出されたProcess.xaml側の引数パネルにはそのような引数は定義していません。
(添付画像下)
本件に関し2点質問をします。
1.原因はUiPathのバグだと思うのですが、その認識で正しいでしょうか?
2.BreakTriggerScopeInArgumentという引数を削除する方法をご教示ください。引数をインポートしてもダメでした。
arjunshenoy
(Arjun Shenoy)
September 4, 2023, 10:23am
2
Hi @gorby
You could use the following option which is available in the Design panel to remove the unused components:
Hope this helps,
Best Regards.
gorby
(Extraordinary UiPath Forum Contributor 2024)
September 4, 2023, 10:26am
3
I could not remove unused next argument after following your advice.
BreakTriggerScopeInArgument
I think your suggested “remove the unused components” 's quality is so poor and unreliable from my experience.
Any other advice?
arjunshenoy
(Arjun Shenoy)
September 4, 2023, 10:28am
4
@gorby
Did you try deleting the argument by navigating inside the child workflow?
Best Regards.
gorby
(Extraordinary UiPath Forum Contributor 2024)
September 4, 2023, 10:34am
5
I cannot understand what you are saying…
As I mentioned , I cannot find BreakTriggerInArgument in Process.xaml.
Will you elaborate on what you are saying?
minami
September 4, 2023, 11:43pm
6
削除ボタンで削除できると思いますが・・できないですか?左上に「-^v」が並んでいて「-」が削除です。
gorby
(Extraordinary UiPath Forum Contributor 2024)
September 5, 2023, 12:17am
7
回答ありがとうございます。左上ではなく右上に「-」があり、削除はできましたが、「引数をインポート」をクリックすると復活してしまいます。復活させると引数の数が5となり、色が大人しめの表示ですが、削除すると引数の数が4となり、色が警告っぽくて気味悪いです。(添付画像参照)
削除しない方がWF安定動作のためには良いのではないでしょうか?
minami
September 5, 2023, 12:55am
8
呼び出される側でbreakアクティビティを使っているのでは?
Hi @Sankaraveni_Murugan
When using the “Break” activity in UiPath, the “BreakTriggerScopeInArgument” argument is automatically created to indicate which loop or iteration the break activity should terminate. By default, it is set to Nothing (null) in UiPath Studio. If you want to avoid the creation of this argument or provide a specific value, you can follow these steps:
Add the “Break” activity to your workflow to break out of a loop.
Open the Properties pane for the “Break” activity.
Expand…
このあたりが参考になるかもしれません。
gorby
(Extraordinary UiPath Forum Contributor 2024)
September 5, 2023, 1:24am
9
ご推察のとおり、呼び出されたProcess.xamlでBreakアクティビティを使っていました。
要は、自動生成された引数BreakTriggerScopeInArgumentの初期値にNullが設定された状態であれば、何も不都合は起こらないということでしょうか?
minami
September 5, 2023, 1:32am
10
呼び出され側のxamlファイルを作り直せば消えるとか、情報はあるみたいですが、私もちゃんと追いかけてないので何ともです・・
多分利用しない限りは問題ないとは思いますが・・