CreateProcessInstance method

  • 26 September 2006
  • 2 replies
  • 1 view

Badge +4
I am trying to instaniate a new process through the API and I cannot get the only process I have created to load.

//Create New Process Instance
oNewProcessInstance = oK2Connection.CreateProcessInstance("SystemAccessFormAdd");


Has anyone else run into this issue previously?

Mike Trouard

2 replies

Badge +9
You'll need to use the fully qualified Process Name which is "Project NameProcess Name".

For example (in C#):

oNewProcessInstance = oK2Connection.CreateProcessInstance("My K2 ProjectExpense Process");
Badge +4
Bob,

It worked great! Thanks.

Mike

Reply