Does Appian Record support optimistic locking?

Certified Associate Developer

With CDT, we can use @Version annotation for optimistic locking. Optimistic locking is a concurrency control mechanism in which it ensures that concurrent transactions will not conflict with each other. If there is a chance of conflict during transactions, the transaction having an older version number will be aborted.

Can we achieve a similar thing using Records?

  Discussion posts and replies are publicly visible

Parents Reply
  • Yes, for Pessimistic Locking.

    With Optimistic concurrency being the "generally the recommended mechanism for concurrency control" (which is true across most apps, Appian and other tech too), my comment is specifically for Optimistic concurrency patterns.

    For example, having a Record Related Action, and from an Interface passing the Record ID (identifier) and somehow also passing the concurrencyControlField into the process model for use in an optimistic concurrency check.

Children
No Data