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
Nayana Pawar 5Nayana Pawar 5 

Error Occurred: UPDATE --- UPDATE FAILED --- ERRORS : (SELF_REFERENCE_FROM_TRIGGER) Object (id = a0cO000000CfogI) is currently in trigger LockRecord, therefore it cannot recursively update itself,

Hi All,
I have two objects Account & Patient. Patient having look up relationship with Account.
(One to one relationship)
Some fields are common in both.
In my case user can update those fields from both object.
I have written trigger to update account fields on Patient object.
And process builder to update patient fields on Account Object.
When I am trying to update patient record I am getting this error:
Error Occurred: UPDATE --- UPDATE FAILED --- ERRORS : (SELF_REFERENCE_FROM_TRIGGER) Object (id = a0cO000000CfogI) is currently in trigger LockRecord, therefore it cannot recursively update itself,