JBoss Community

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

created by blepjbpm in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community