logger.error(String.format("cannot find the work process define! define id : %d",command.getProcessDefinitionId()));
logger.error("cannot find the work process define! define id : {}",command.getProcessDefinitionId());
returnnull;
}
}
@ -973,21 +973,21 @@ public class ProcessService {
returntrue;
}
if(taskInstance.getState().typeIsFinished()){
logger.info(String.format("submit to task queue, but task [%s] state [%s] is already finished. ",taskInstance.getName(),taskInstance.getState().toString()));
logger.info("submit to task queue, but task [{}] state [{}] is already finished. ",taskInstance.getName(),taskInstance.getState());