変数パネルに作成した変数は不用意に削除しない方が良い?

UiPath Studio EnterPrise Edition23.10.0を利用中の初心者です。

無効化したシーケンスで使用している変数を変数パネルから削除後、Ctrl+Fで変数の使われている箇所がないことを確認したうえで、後でWFを閉じて再度開いたら、その変数を「データマネージャで再作成してください。」というエラーが出て困ったことがあります。その後は、変数パネルに作成した変数は不用意に削除しない運用を心掛けています。これはUiPathのバグだと思うのですが、有識者の方、見解を聞かせてください。

@gorby

Even if a commented code is having a variable and if it is deleted…yes UiPath would show a warning for the same to intimate about it

Cheers

Thank for your reply!
Let me confirm.

UiPath would show a warning for the same to intimate about it

May I think this is UiPath bug because disabled variable is unnecessary to warn for me.

@gorby

But it is still part of the workflow even if it does not run…so it would still throw…In some cases it might be necessary…because while validating it would look for all variables under every activity irrespective of the activity being commented

Cheerd

It seems bug for me because haulting workflow is over reaction caused by disabled variable.

1 Like