Scenario:
- Job executor deployment-aware, not PA deployed
- Have a persistent deployment with a process that has a timer start event
- Timer is due, but because of the deployment-aware job executor, it is currently not picked up
- Deploy the PA that triggers redeployment of the process (i.e. timer start job gets updated or deleted)
Current behavior:
- job acquisition picks up and updates job during deployment
- deployment fails with OptimisticLockingException
Expected behavior:
- deployment does not fail
- job is only picked up after deployment has finished
Hint:
- this has to do with when the process engine registers a deployment