Skip to main content
Hi to all,

When i try to open the processInstance using processinstanceid using
K2ROM then it shows the following error:

System.Exception: 6023 Process instance 6 not found

I use the following code:

Connection con=new Connection();
ProcessInstance procIns;
con.Open("SERVERName");
procIns=con.OpenProcessInstance(6); // 6 is the ProcessInstanceId which already created.

Regards,
sgankum
You can only get a handle on "Running" instances using K2ROM. If the process instance has been completed you cannot manipulate the instance and as such, cannot use K2ROM.
For processes that have been completed, how would we be able to retrieve the data if we cannot use OpenProcessInstance? I would like to load the process for read only purposes?
Yo can use the Reporting web services, refer to other posts touching the K2MIS object model.

Reply