Skip to main content

Hi All,


I tried to finish an asynchronous server event by opening the serveritem with the serial number and then using the function finish().


The error I got was :


26033 Worklist item  Not Open for K2:ASPXYZ at 127.0.0.1:25


The following is the code I used :


SourceCode.Workflow.Client.ProcessInstance pi = con.OpenProcessInstance(366);


 string serialno = pi.DataFieldsd"SerialNumber"].Value.ToString();


 SourceCode.Workflow.Client.ServerItem si = con.OpenServerItem(serialno);
                       
si.Finish();


 


The same LOC works in 2003 SP4 but not in BlackPearl.


Please guide.


Thx n Rgds,


Sourcecode


 

There was a known defect for one of the 0807 releases, this has been addressed in KB000384 (and later). I'm assuming that user XYZ has Server Event permissions on the process?


I'm just a bit concerned here as the way you use it could cause deadlocks. The process instance is still open when you attempt to finish the server event, running inside the open process. Releasing the ProcessInstance object before you finish the Async event should address that.


HI dc,


Thx for replying.


My server has all the neccessary permission.


Browsing thru posts, came to know this being a bug in 0807.


I think need to upgrade to Blackpearl 4.5 for the same.


Please guide.


Thx n Rgds.


 


Reply