Hi Friends,
I am creating a task using a standalone application pointing to a bpmn and postgres db.
Now the tasks are getting created in act_ru_task table.
I log in to another application(different than the first) pointing to the same db and a copy of xml that was used to create the tasks.
I m able to claim the task but when i try to complete the task , i get the below error.
Kindly help/suggest.
779118 [http-nio-8080-exec-10] INFO org.activiti.engine.impl.bpmn.deployer.BpmnDeployer - Processing resource BookUploadApproval.bpmn20.xml
org.activiti.engine.ActivitiException: Error parsing XML
at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:236)
at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:112)
at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:50)
at org.activiti.engine.impl.persistence.deploy.DeploymentManager.resolveProcessDefinition(DeploymentManager.java:115)
at org.activiti.engine.impl.persistence.deploy.DeploymentManager.findDeployedProcessDefinitionById(DeploymentManager.java:65)
at org.activiti.engine.impl.persistence.entity.TaskEntity.getTaskDefinition(TaskEntity.java:748)
at org.activiti.engine.impl.persistence.entity.TaskEntity.fireEvent(TaskEntity.java:708)
at org.activiti.engine.impl.persistence.entity.TaskEntity.complete(TaskEntity.java:181)
at org.activiti.engine.impl.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:50)
at org.activiti.engine.impl.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:24)
at org.activiti.engine.impl.cmd.NeedsActiveTaskCmd.execute(NeedsActiveTaskCmd.java:59)
at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35)
at org.activiti.engine.impl.TaskServiceImpl.complete(TaskServiceImpl.java:166)
at com.tcs.nalp.ui.BookUploadWorkflow.claimTaskComplete(BookUploadWorkflow.java:86)
at com.tcs.nalp.ui.InitiateBookForValidationAction.writeJSON(InitiateBookForValidationAction.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)