Home Page › Forums › BizTalk 2004 – BizTalk 2010 › run program from C# component called within orchestration › Re: run program from C# component called within orchestration
Hi
I have now resolved my problem.
Within my component I defined my process within a System.Diagnostics.ProcessStartInfo object. The function that contained this code returns true or false depending on whether the process ran. From within my orchestration (message assignment shape) I created an instance of my process object, set an orchestration defined variable to the return value of my process (true or false) and assigned that value to a node within my outgoing message. So my orchestration completed, messages were sent and the process (an exe) was executed on the server successfully (writing content to a text file in this case).
Cheers