locked
Can be declared an orchestration variable of type string[ ] ? RRS feed

  • Question

  • I need to store all file names from a directory in a variable so I can loop through them. I am using System.IO.Directory.GetFiles(string path) which returns string []. I declared an orchestration variable but in .NET CLASS types I didn't find one suitable for string [].
    Thursday, July 2, 2009 9:13 AM

Answers

  • BizTalk Orchestration does not support Array variables. You have to use C# Helper class object to store the file names into string Array and in the Orchestration you can have a loop= no. of file name present in the Array. Inside the loop you can get the content of the Array using Class Object/Function.
    Ajeet Kumar
    Thursday, July 2, 2009 9:26 AM