Auto-Initialize Collection variables


What is your Use case

Collections can be initialized with 0 items at the time of Create Variable.

How do you see a solution for the use case?

When we choose variable type to be List or Dictionary<T,T> then additionally a pop-up window should come asking user if UiPath should initialize object variable with 0 items by itself. If user chooses yes then Default value will be assigned e.g. for new List(Of String){}.

Scope: Automation Framework__________

  • Automation Framework


I agree - similar to how the datatable variable created using the data scraping tool is pre-initialized in the variables pane. This could definitely be an improvement.