[jboss-user] [jBPM] - Resume a process. Same ksession ?
lakshmi sampath
do-not-reply at jboss.com
Wed Mar 21 19:39:53 EDT 2012
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120321/d92918a8/attachment.html
More information about the jboss-user
mailing list