Retry on OptimisticLockingException when calling synchronously


#1

Hi,

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,
Capacia


#2

Hi Capacia,

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

Cheers,
Thorben


#3

Thank you. I will do so.