Can I have refactoring function in UiPath Studio?

I find that variable name have some reference so the change on variable name applied to all those references on the top level.
However when you reference to it inside other function it did not change and cause error?
Is it possible to add “Refactoring” feature? My life will be better!


1 Like

You have Extract as workflow option.

Keep all activities you want to extract in a sequence or do box (basically in any component)
and then right-click -> Extract as Workflow -> Provide new name.

Hi Abhilash,

Thank you for your suggestion but it works differently from what you described.

My bad.

The variable name sent inside would have been used as an argument.
Obviously, it will behave as a method parameter, which should not change it’s name.

However, if you get something on this, please update me also. thanks.

that would be a great feature, something like JAVA IDE gives u an option to refactor a variable reference across all source code files (so across all xamls)
This can be used to even change the data type of a reference everywhere (be it used as variable/argument)
Please push the envelope for this too @Indrajit_Banerjee


I agree. Refactoring an argument of a utility xaml that is used by many other xaml files is VERY painful.

1 Like

Almost 2 years since my post. This feature still in nowhere. ^^