You need to sign in to do that
Don't have an account?
sandy sfdc
Execution of Trigger (api or salesforce)
Hi All,
how come i know whether the trigger is executed by api or from normal salesfroce function.
how come i know whether the trigger is executed by api or from normal salesfroce function.
[1] http://blog.deadlypenguin.com/blog/2012/02/13/classifying-triggers-in-salesforce/
All Answers
Can u suggest me for the below Queries,
How can i avoid trigger firing from API calls??
We are working on integrating SF-Leads to third party and vice versa.
when any lead insert into SF,my trigger fires and sent particular Lead to third party through Future Callouts.But when Lead is added from API, again the particular trigger fires and sent Lead info to third party(Creating Duplicate Lead).By avoding this type of unnecessary Api calls we are stopping calls by using extra parameter like "Source" field .
We are succeded in stoping the API-calls when inserting the Leads.But we are facing struggels doing update calls .Can you give me any ideas on this.
How can i stop update call when update comming from API??
[1] http://blog.deadlypenguin.com/blog/2012/02/13/classifying-triggers-in-salesforce/