在Alfresco Activiti中看不到TASK APP中已经开始的TASK

时间:2016-03-21 14:32:37

标签: eclipse alfresco activiti

我正在使用Activiti设计器在Activiti中创建和部署流程。我的进程部署没有错误。但是当我登录Activiti App时,我无法在任务应用程序中启动该过程。

以下是我的Eclipse控制台的日志:

Mar 18, 2016 2:22:31 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [activiti.cfg.xml]
Mar 18, 2016 2:22:34 PM org.activiti.engine.impl.ProcessEngineImpl 
INFO: ProcessEngine default created
Mar 18, 2016 2:22:34 PM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
INFO: Processing resource myProcess.bpmn20.xml
id 40005 myProcess:12:40004

以下是我的Junit测试:

public void startProcess() throws Exception 
{
RepositoryService repositoryService = activitiRule.getRepositoryService();
repositoryService.createDeployment().name("working set").addInputStream("myProcess.bpmn20.xml",
new FileInputStream(filename)).deploy();
RuntimeService runtimeService = activitiRule.getRuntimeService();

ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("myProcess");
assertNotNull(processInstance.getId());
System.out.println("id " + processInstance.getId() + " "
+ processInstance.getProcessDefinitionId());
}

我已将任务分配给$ INITIATOR。该过程成功启动,但当我以管理员身份登录activiti-app时,我无法在任务应用程序中看到任务。那是为什么?

0 个答案:

没有答案