07-01-2016 05:16 AM
String workflow="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<bpmn:definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"Definitions_1\" targetNamespace=\"http://bpmn.io/schema/bpmn\">\n" +
" <bpmn:process id=\"Process_1\" name=\"Honeywell Process\" isExecutable=\"true\">\n" +
" <bpmn:endEvent id=\"EndEvent_14quhpi\" name=\"End\">\n" +
" <bpmn:incoming>SequenceFlow_0v4wn48</bpmn:incoming>\n" +
" </bpmn:endEvent>\n" +
Deployment deployment = repositoryService.createDeployment().addString("Process_1", workflow).name("HoneywellProcess").deploy();
I am getting deployment id as 20001
ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("Process_1", variableMap);
org.activiti.engine.ActivitiObjectNotFoundException: no processes deployed with key 'Process_1'
07-05-2016 01:07 AM
07-05-2016 11:51 PM
07-06-2016 02:16 AM
07-06-2016 03:18 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.