AnsweredAssumed Answered

Not able to start the BPMN Process

Question asked by chandanmb1 on Sep 27, 2016
Latest reply on Dec 12, 2016 by gdharley
Hello team,

I am getting the Process Instance ID but i am not able to see any entry in ACT_RU_EXECUTION and ACT_RU_TASK Table.
Is my BPMN XML is wrong. Attached is my xml.


try {

         String processXML="";//attachment
         DataConnection connect = new DataConnection();
         connect.connection();

         ProcessEngineConfigurator processEngine = ProcessEngineConfigurator.getInstance();
         
         repositoryService = processEngine.getProcessEngine().getRepositoryService();
         Deployment deploymentId = repositoryService.createDeployment().addString("WI_2002020.bpmn20.xml", processXML).deploy();
         Map<String, Object> variableMap = new HashMap<String, Object>();
         runtimeService = processEngine.getProcessEngine().getRuntimeService();
         
         
         
         processInstance = runtimeService.startProcessInstanceByKey("WI_2002020");
         
         System.out.println(processInstance.getId());
      }catch(Exception e){
         
      }



Regards,
Chandan

Attachments

Outcomes