lakshmi sampath [https://community.jboss.org/people/lakshmi.sampath] created 
the discussion

"Resume a process. Same ksession ?"

To view the discussion, visit: https://community.jboss.org/message/725452#725452

--------------------------------------------------------------
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
[https://community.jboss.org/message/725452#725452]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to