UiPath - Initialize List and Assign Values to List

uipath initialize empty list uipath initialize list with values
UiPath - Initialize List and Assign Values to List

During developing automation workflow, we need to perform a lot of data manipulation and using list is very frequent. We need to learn about initialize empty list in UiPath and initialize list with values in UiPath.

Let’s understand with example 😃

Initialize empty list in UiPath

dataList = New List(Of String)

uipath-initialize-list-assign-dataList
Assign - Empty String List to dataList

Initialize array with values in UiPath

dataList = New List(Of String)(New String(){"value1", "value2", "value3"})

uipath-initialize-list-with-values-assign-list-with-values-to-dataList
Assign - List with values to dataList

Comments

Popular posts from this blog

UiPath - Convert String to DateTime

Filter DataTable in UiPath Studio

UiPath - Kill Process for Current User