Deployment deployment = processEngine.getRepositoryService().createDeployment()
.addBpmnModel("DynamicApiExecution.bpmn",model)
.name("Dynamic Api Execution").key("DynamicApiExecution").deploy();
The above call returns me deployment object. When i try to execute the below call it says Deployment id not found.
The object returned from the above call is not getting persisted in activiti deployment table.processEngine.getRuntimeService().startProcessInstanceById(deployment.getId(),variables);Can some one from activiti team please look into this issue.
But if i execute the below call. It executes the existing latest version of deployment and also creating the deployent
entry which is returned in the above call
processEngine.getRuntimeService().startProcessInstanceByKey("DynamicApiExecution",variables);
its creating the deployment id which is not found in the above call.
Can you please share your activiti version details ?
Hi Muralidharan,
Here are the details
'schema.version' : '6.0.0.4'
'schema.history' : 'create(5.18.0.1) upgrade(5.18.0.1->6.0.0.4)'
Hi Murali,
Any update ?
Here are the details requested
'schema.version' : '6.0.0.4'
'schema.history' : 'create(5.18.0.1) upgrade(5.18.0.1->6.0.0.4)'
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.