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
Sfdc wonderSfdc wonder 

How to stop the trigger of sObjects from API calls.

Hi,

I need to stop the trigger from API calls to avoid duplication insertion in third party.

could give me any one possible solution for this.

i have one option

  a)set one hidden field like checkbox,based on this field i can control the trigger.

   any other option.

Hargobind_SinghHargobind_Singh
Your (a) seems to be the only solution. There is no option to switch off triggers except to deactivate them temporarily.