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
Mounika SuramMounika Suram 

This record was modified by xxx during your edit session

Hi,

We are getting the below error when updating the record using inline edit.
Error Message
We have a before insert trigger on ContentDocumentLink which updates the Attachment checkbox to true when a file is attached to the record.

Is there any way or work around to prevent this message from showing or automatic refresh of the record when the trigger updated the record?
Raj VakatiRaj Vakati
there might be the reason 
  1. Record is modified by other user 
  2. There is an other process or flow or trigger or intregation that is running with the specific user 
  3. Sharing rules also casuing this issue please check