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
SrilakshmiSrilakshmi 

DML operation on setup object is not permitted after you have updated a non-setup object

Hi,

 

I am writing before update trigger on Contact Object which will update the corresponding users in the User Object.

But there are some triggers in user object which will update contact hence this is becoming deadlock.

 

I found in the forum @future annotation can be used to solve this issue but some of the user triggers already using this @future methods since one @future method cannot call another @ future method this idea also not working.

 

Can anyone please suggest ideas to overcome this issue.

john_hezhengjohn_hezheng

I have the similary issue.  any update?