Hello All,
I have attached the bpmn modeller (diagram.txt).
Now i am trying to insert the same bpmn xml to the activiti database. I am getting an error. "No process deployed with the key myProcess".
Variable s is the complete bpmn xml present in attached file.
Deployment deploy = repositoryService.createDeployment().addString("myProcess", s).deploy();
System.out.println("Deployment:::::::::::::"+deploy);
Map<String, Object> variableMap = new HashMap<String, Object>();
runtimeService = processEngine.getRuntimeService();
processInstance = runtimeService.startProcessInstanceByKey("myProcess",variableMap);
Please help !!!