cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to see tasks

sunitanayak83
Champ in-the-making
Champ in-the-making
I am using the Activiti designer to create and deploy a process in Activiti. My process gets deployed with no errors. But when I login to Activiti App, I am unable to start the process in my Task App.

Below are the logs from my Eclipse console :

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 <init>
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

Below is my Junit Test :

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());
   }


5 REPLIES 5

hari
Star Contributor
Star Contributor
Hi,

As you can see in the logs, id 40005 myProcess:12:40004, which means your process has been started successfully. If you have said its not started because you didnt see any task in your inbox, check if you have assigned the task to the user/group or have missed it.

sunitanayak83
Champ in-the-making
Champ in-the-making
I have assigned the task to the correct user in my bpmn diagram. But I am still unable to see the task in the assigned user inbox. I even tried to assign the task to the initiator but nothing works. Any clue

sunitanayak83
Champ in-the-making
Champ in-the-making
I have assigned the task to $INITIATOR. The process starts successfully, but when I log into activiti-app as an administrator, I am unable to see the tasks in the task app. Why is that ?

jbarrez
Star Contributor
Star Contributor
Did you start the process with the administrator? If so, the task should show in the administrators inbox.

sunitanayak83
Champ in-the-making
Champ in-the-making
Yes I did start the process as an administrator. But the task doesn't show in administrator's inbox. Trying to figure out why that is happening.