Deployment issue

I have made the changes in bpmn and file and saved in the process folder under resouces but when we are running the project its swtiching back to the previous deployment ? how to correct this behaviour?

Could you reproduce the issue in the jUnit test?

What does it mean:

when we are running the project its swtiching back to the previous deployment

i made changes in the with task name survey 1
and previously i had it as task 1

it will some times give the task name as survey 1 and then sometimes for back to task 1 as the name

Could you reproduce the issue in the jUnit test?

@martin.grofcik
Hi this is is a 1/100 situtation so i cant generate a JUNIT for it but i can explain you whats happening

So basically lets say i make a BPMN file on november and springboot read it through auto deplooyment and now its within my act_re_deployment table as deployment_id and in the act_ge_bytearray with process file path now lets say on december i changes the bpmn file with the same name

but now its going back to the BPMN file i made in november and then it starts again

So basically this irregular behaviour of flowable is very un-predictable

Do let me know if there is a solution for this.

Regards,
Kartik

Is it possible that you specify precise version when you start the process instance?
It is possible to start “previous” version, but it must be specified in the api call.

Okay lets we are running on the current bpmn with correct version and that is the version of BPMN that needs to be followed now if any one else running the same application can they be blocked so that bpmn file dont get redeployed and go back to the previous batch ?

repositoryService.suspendProcessDefinitionById(...)