AnsweredAssumed Answered

How to Provide a model before deploying the Modeller XML

Question asked by chandanmb1 on May 25, 2016
Latest reply on May 31, 2016 by jbarrez

I am trying to deploy the bpmn modeller xml file programmatically using the below code.

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!!