[jboss-user] [jBPM] - Recover async activities after jBPM4 restart
Michael Wohlfart
do-not-reply at jboss.com
Mon Jul 26 04:02:30 EDT 2010
Michael Wohlfart [http://community.jboss.org/people/mwohlf] replied to the discussion
"Recover async activities after jBPM4 restart"
To view the discussion, visit: http://community.jboss.org/message/554339#554339
--------------------------------------------------------------
Hi Georgy,
my understanding is that async executions are picked up by the job executor, so the following might work and "restart" the excution for an async execution which was "lost".
ManagementService managementService = processEngine.getManagementService();
Job job = managementService.createJobQuery().processInstanceId(id).uniqueResult();
managementService.executeJob(job.getId());
...it's just a guess
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/554339#554339]
Start a new discussion in jBPM at Community
[http://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/20100726/94553785/attachment.html
More information about the jboss-user
mailing list