Hello,
I am trying to deploy the bpmn modeller xml file programmatically using the below code.
processEngine=ProcessEngineConfigurator.getInstance().getProcessEngine();
repositoryService=processEngine.getRepositoryService();
Deployment deploymentId = repositoryService.createDeployment().addClasspathResource("testProcess.bpmn20.xml").deploy
I am getting the deployment Id back.
But when i check my activiti deployment table.
select * from ACT_RE_DEPLOYMENT;
I am getting deployname as null.
I need to set the name as well. How to do it programmatically? Please help!!