Skip to main content
Participating Frequently
Jul 3, 2023 7:35 AM UTC
Question

How does the Data Service handle OptimisticLockException?

I have registered a CDT with @version columns available.

When updating this CDT with OptimisticLockException using the Write To Data Store Entity Smart Service, the status of the Smart Service becomes "not attended" and the process stops. 

Are you aware of a technique for handling an exclusive lock as an error when it is detected by Smart Service?

1 reply

stefanhelzle0001
Brainy
Jul 3, 2023 10:09 AM UTC

This is how Appian handles that situation. How exactly would you want to handle that?