//开始流程 Map<String, Object> vars = new HashMap<String, Object>(); vars.put("title", "12312"); engine.getRuntimeService().startProcessInstanceByKey("leave-normal-from",vars);
}
输出结果主要内容如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
16:41:08.011 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [my-config.xml] log4j:WARN No appenders could be found for logger (org.apache.ibatis.thread.Runnable). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. this is interceptor A org.activiti.engine.impl.SchemaOperationsProcessEngineBuild this is interceptor B org.activiti.engine.impl.SchemaOperationsProcessEngineBuild 16:41:09.527 [main] DEBUG org.activiti.engine.impl.persistence.entity.PropertyEntity.selectDbSchemaVersion - ==> Preparing: select VALUE_ from ACT_GE_PROPERTY where NAME_ = 'schema.version' 16:41:09.552 [main] DEBUG org.activiti.engine.impl.persistence.entity.PropertyEntity.selectDbSchemaVersion - ==> Parameters: 16:41:09.565 [main] DEBUG org.activiti.engine.impl.persistence.entity.PropertyEntity.selectDbSchemaVersion - <== Total: 1 16:41:09.571 [main] INFO org.activiti.engine.impl.ProcessEngineImpl - ProcessEngine default created this is interceptor A org.activiti.engine.impl.cmd.StartProcessInstanceCmd this is interceptor B org.activiti.engine.impl.cmd.StartProcessInstanceCmd 16:41:09.581 [main] DEBUG org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity.selectLatestProcessDefinitionByKey - ==> Preparing: select * from ACT_RE_PROCDEF where KEY_ = ? and (TENANT_ID_ = '' or TENANT_ID_ is null) and VERSION_ = (select max(VERSION_) from ACT_RE_PROCDEF where KEY_ = ? and (TENANT_ID_ = '' or TENANT_ID_ is null)) 16:41:09.582 [main] DEBUG org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity.selectLatestProcessDefinitionByKey - ==> Parameters: leave-normal-from(String), leave-normal-from(String) 16:41:09.585 [main] DEBUG org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity.selectLatestProcessDefinitionByKey - <== Total: 1 16:41:09.586 [main] DEBUG org.activiti.engine.impl.persistence.entity.DeploymentEntity.selectDeploymentById - ==> Preparing: select * from ACT_RE_DEPLOYMENT where ID_ = ?