Skip to main content
Nintex Community Menu Bar


Hi all,

 

Is it possible to pass a string array or List<string> to a method ?

 

What kind of Property i need to create ?

 

the SoType.MultiValue property do the job ? if yes, how ?


for example i have the following method PassAStringArray, how to declare the Property ?

--> (new Property("myStringArray", ??? , SoType.???, new MetaData("my string array", "my string array"))

 

the piece of code i'm using is

 

public DataTable PassAStringArray(string r] myStringArray)
{
   DataTable dt= new DataTable(...)
  //do something and ...
  //...add rows ...
  return dt;
}


internal virtual SDKObjects.Properties DescribeProperties()
{
    var props = new SDKObjects.Properties();

    //Input Fields
    props.Create(new Property("myStringArray", "System.String???", SoType.???, new MetaData("my string array", "my       string array")));

   //output fields
   //...
   return props;
}

Be the first to reply!

Reply