0 Replies Latest reply on Nov 25, 2011 12:43 PM by blepjbpm

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

    blepjbpm Newbie

      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() ?