cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to start the BPMN Process

chandanmb1
Champ on-the-rise
Champ on-the-rise
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
1 REPLY 1

gdharley
Elite Collaborator
Elite Collaborator

Chandan,
This appears to be a duplicate of a question I answered for you earlier today.

Thanks,

Greg

bp3‌