Hi,
I've developed a tool in .Net which allows all the processes in a project to be exported to a named server. It all works fine, but there's one thing that's bothering me - I cannot see how to emulate what the K2Studio IDE does; i.e:
Compile the Code Modules (once only)
Compile the processes
Export all of the compiled processes and code modules (once only)
I can only see an Export method on each of the Process objects associated with a ProcessFolder, e.g. where activeProject is an object of type K2Studio.Project and exportServer is an ExportServer object, executing the following:
string results = null;
for (int procNum = 0; procNum < activeProject.ProcessFolder.Processes.Count; procNum++)
{
K2Studio.Process process = activeProject.ProcessFolder.Processes.Item(procNum);
process.Export(exportServer.Name, ref results);
Display(results);
}
means that the Code modules are compiled each time one of the Processes is compiled and then an export is performed for each process.
Is there something I am missing?
Regards
David
Export using K2Studio API
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
