[jboss-user] [jBPM] - How to automatically re-execute all work items that are not completed after restoring the session?

blepjbpm do-not-reply at jboss.com
Fri Nov 25 12:43:55 EST 2011


blepjbpm [http://community.jboss.org/people/blepjbpm] created the discussion

"How to automatically re-execute all work items that are not completed after restoring the session?"

To view the discussion, visit: http://community.jboss.org/message/638402#638402

--------------------------------------------------------------
Hi,

I'm testing session persistence using JbpmJUnitTestCase to setup the persistence with jBPM 5.1. My test process executes activities asynchronously.

The problem I'm running into is that when I restore the session, I would like to automatically re-execute work item that are not completed. 

Is there a way to automatically re-execute all work items that are not completed after restoring the session with JPAKnowledgeService.loadStatefulKnowledgeSession() ?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/638402#638402]

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/20111125/06bbc9c8/attachment-0001.html 


More information about the jboss-user mailing list