Cannot initialize a list

Hi guys

I’m trying to initialize a list in my workflow, but it’s not working.

It’s a list of strings and i get the message: Invalid expression term string

Here’s an image

I don’t know what’s going wrong, because that’s the way that I’ve seen here in the forum how to initialize a list.

How could I solve it?


Welcome to the community

can you show the error and type of the variable from variables panel


init a list VB.Net: new List(Of String)()

init a list C#: new List<string>();


Hi, thank you

It was just a matter of syntax. Now it’s working.

1 Like

Thank you

It worked!

Please check the below screenshots of creating a list and its variable.

Thanks :slight_smile:

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