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
Capture

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?

@Rodrigo_de_Bem

Welcome to the community

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

cheers

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

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

2 Likes

Hi, thank you

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

1 Like

Thank you

It worked!

Hi
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.