Open bxf12315 opened 8 years ago
here:https://github.com/mrietveld/jbpm-more-examples/blob/master/workitem-recovery/src/main/java/org/jbpm/more/WorkItemRecoveryTaskHandler.java#L66 It just completeWorkItem ,not executeWorkitem. Many case , we need re-execute workitem. So i need get work item handler , then call handler.executeWorkItem. like here https://github.com/droolsjbpm/drools/blob/master/drools-persistence-jpa/src/main/java/org/drools/persistence/jpa/processinstance/JPAWorkItemManager.java#L84
hi, I create some code base on your. https://gist.github.com/bxf12315/dd2b267dc5c80d90588ff196f3dd1273 Please check it
here:https://github.com/mrietveld/jbpm-more-examples/blob/master/workitem-recovery/src/main/java/org/jbpm/more/WorkItemRecoveryTaskHandler.java#L66 It just completeWorkItem ,not executeWorkitem. Many case , we need re-execute workitem. So i need get work item handler , then call handler.executeWorkItem. like here https://github.com/droolsjbpm/drools/blob/master/drools-persistence-jpa/src/main/java/org/drools/persistence/jpa/processinstance/JPAWorkItemManager.java#L84