+ Start a Discussion
Sfdc wonderSfdc wonder 

How to stop the trigger of sObjects from API calls.


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.

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