How to assign a empty value to a list of string

Hi team ,

Below variable is type - list of strings
image

Please let me know how to assign a null value to this .

Regards,
Gokul

strList= new List(of String)

Use …Nothing…in the value portion of Assign Activity

Getting this error -

image

image

Hi,

If you need to create string list which has empty string or null value items, the following will work. for example.

New List(Of String)From{"",""}

OR

New List(Of String)From{Nothing,Nothing}

Regards,

Hello @gokul1904

You can use the list activities to achieve this.

Create list item to create the list variable
Add list item to add items to list. Provide “” in the value.

Thanks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.