Hi Team,
I have a requirement where I have to show the list of users who have opened same record in a site.
I have record type with 'related actions' to view the record details, my requirement is if user A has already opened the record and if another user B opens the same record, then both of them should be able to see on the summary page that the other user has also opened the same record.
We don't need to lock the record rather just display who all are viewing the same record at the same time.
Any help is appreciated.
Thank you
Discussion posts and replies are publicly visible
What would your users do with the information that another user is concurrently viewing the same record? (I'm curious as to the business requirement here, not the "how do we do this?" detail)
Hi Stewart,
Once the user knows that another user is viewing it, they would ideally not work on the same record.
If that's the ideal then why not use a pessimistic locking solution to actively prevent two users working ion the same record? Once a User has a lock then you can then decide what level of access other Users can have to that same record - either being able to access for read-only, or not even access it at all. The beauty of this pattern is that you can surface who has the lock so User B can see that User A is currently working on the record.
community.appian.com/.../pessimistic-locking