JBoss Community

Resume a process. Same ksession ?

created by lakshmi sampath in jBPM - View the full discussion

Hi,

 

I am suspending a process inside a work item handler(by making it async) using a flag that checks if user has reqeusted to suspend a process. I am persisting the instance.

 

My Question is

 

     Do i need to use the same ksession which initially started the process when I call ksession.getWorkItemManager().completeWorkItem(..) to resume

     or can I create a new ksession and resume a previously suspended process. If I can use new ksession what happens to the old ksesion which is persisted in db.

 

     Note: I am not using any events or timers yet

 

 

thanks

lakshmi.

Reply to this message by going to Community

Start a new discussion in jBPM at Community