Retry on OptimisticLockingException when calling synchronously



is the retry feature on OptimisticLockingExceptions only available for asynchronous process execution (via asynchronous continuation) or also if I interact synchronously?

For example if I call taskService.setVariables concurrently, does it automatically retry or do I have to take care of it on my own?

What about other synchronous calls like taskService.complete?

Thanks for your support,


Hi Capacia,

You have to retry on your own in this case, i.e. catch the exception and react accordingly.



Thank you. I will do so.