Skip to main content
August 20, 2024
Question

Appian Records Locking Mechanism

  • August 20, 2024
  • 5 replies
  • 0 views

Hi,

Please suggest some ways through which I can avoid multiple users accessing same record at same time .

Thanks

5 replies

kumara0180
August 20, 2024

please have a look at this article 

community.appian.com/.../data-locking-strategies

August 20, 2024

 [mention:d71dc0922a44411db41369c6058e69ad:e9ed411860ed4f2ba0265705b8793d05]  any other link where we can check how to implement this

kumara0180
August 20, 2024

No, and  I think document has enough information to start with. you shall be able to figure out next steps as you progress along

saifalik8679
Known Participant
August 21, 2024

To prevent multiple user access and edit, add a new column in the table, isLocked. When a user opens the form through the process model, pertaining to that record, set isLocked=true, also, and just before the end node of the process, mark isLocked=false. Next, when a user access the same form, check first if isLocked=true, if it is, disallow the user, else, repeat the previous logic.

This is one of the ways to implement locking at DB level, there are other methods to do this as well. 

stefanhelzle0001
Brainy
August 21, 2024

Keep in mind that you need some way to "unlock" records manually.