List<String> actDefIds = event.getActDefIds();
Date nowDate = new Date();
for(String actDefId : actDefIds) {
ActivityInst activityInst = event.getActInstRep().findActivityInstByActDefId(actDefId);
if(activityInst.getCurrentState() == StarFlowState.ACT_INST_RUNING)
throw new RollbackEngineException("环节【"+actDefId+"】处于运行状态,无法重启");
event.getActInstRep().updateActivityStateToRunning(activityInst.getActivityInstId(),
StarFlowState.ACT_INST_RUNING, nowDate);
event.getWorkItemRep().updateActWorkItemStateAndStartTime(activityInst.getActivityInstId(),