Deployment deployment = processEngine.getRepositoryService().createDeployment()
.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
its creating the deployment id which is not found in the above call.