@Override
protected void doInTransactionWithoutResult(TransactionStatus arg0) {
try {
IWorkflowSession workflowSession = runtimeContext.getWorkflowSession();
IWorkItem workItem1 = workflowSession.findWorkItemById(workItem1Id);
DynamicAssignmentHandler dynamicAssignmentHandler = new DynamicAssignmentHandler();
dynamicAssignmentHandler.setActorIdsList(actorIds);
dynamicAssignmentHandler.setNeedClaim(true);
workItem1.complete(dynamicAssignmentHandler, "");
} catch (EngineException ex) {
Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
} catch (KernelException ex) {
Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);