How to use a string list in an extension?

  

I need to create an extension action that accepts a list of strings as an input parameter. In Service Studio I can easily declare a variable as a List and then select the Text type, but I can't do the same in Integration Studio.

I thought of declaring a structure with a single text attribute, and then declaring the input parameter as a Record List of that type, but this seems unnecessarily complicated.

Is this my only alternative? 

Solution

Hi Aurelio,

The most common used option is indeed the RecordList of structure with one element of Text.

There is one other option that you can try, which is the object.

You can create an input parameter of type Object and in c#/java you can define what the Object contains.

Kind regards,

Remco Dekkinga

Solution

Remco Dekkinga wrote:

Hi Aurelio,

The most common used option is indeed the RecordList of structure with one element of Text.

There is one other option that you can try, which is the object.

You can create an input parameter of type Object and in c#/java you can define what the Object contains.

Kind regards,

Remco Dekkinga

I went with the "Object" approach. Thanks a lot!