Skip to main content
July 3, 2023
Question

How does the Data Service handle OptimisticLockException?

  • July 3, 2023
  • 1 reply
  • 0 views

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
July 3, 2023

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