function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
María Jesús CarmonaMaría Jesús Carmona 

User who is viewing a case

Hi,
I would like to know is there is some way to show an informative text showing the user who is watching a case record.
The reason is that I have a button that asigns the case record to the user who clicked it (only if the case is not asigned), but there are times when 2 users open it at the same time and both of them click the button.
I think a solution could be to show if someone is on that record at that time, but I dont know if there's a standard way to do that or how to achieve it.
Any ideas? (The case viewing is a Visualforce btw)
Thanks :)
Raj VakatiRaj Vakati
Try like this 

 1. Create a new object store the user who view the case 
2 . Create a flow or vf page to load the data into the custom object where every user view the case 
3 .You can show the custom object as a related list to case