@Version-style optimistic locking for synced Record Types
Hi,
I’m working on a proof of concept for handling concurrent user updates using optimistic locking with a @Version field.
This works well when using CDTs/Data Store Entities because Appian/Hibernate can use the version column to detect when a record has been updated by another transaction and prevent one user from overwriting another user’s changes.
For synced Record Types, however, it does not appear that there is currently equivalent support for a version field that can participate in optimistic locking during record writes.
Are there any plans to support @Version-style optimistic locking for synced Record Types / Write Records?
The use case is to prevent lost updates when multiple users open and edit the same record at the same time, while still allowing us to detect conflicts and provide a merge/resolution experience to the user.
If this is not currently planned, is there a recommended Appian-native pattern for implementing optimistic concurrency with synced Record Types?
Thanks!
