Issue with activiti framework

cancel
Showing results for 
Search instead for 
Did you mean: 
Member II

Issue with activiti framework

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);


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 some one from activiti team please look into this issue.
3 Replies
Established Member II

Re: Issue with activiti framework

Can you please share your activiti version details ? 

Member II

Re: Issue with activiti framework

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)'

Member II

Re: Issue with activiti framework

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)'