You need to sign in to do that
Don't have an account?
Cid
Does a Upsert unintentionally invoke a trigger/workflow on a related Object?
Scenario:
We are using a BULK Upsert API call into the Opportunity object.
Opportunity Workflow Rules are deactivated.
Account Workflow Rules are Active
Using the following fields to match and insert/update on External ID.
Opportunity.External_Id__c
Account.External_Id__c
As you see in my Debug log below: The workflow rules are firing, is that intentional? I know I can add a custom setting or deactivate the workflow but I am looking for if anyone else has seen this before.
Thanks in advance -- Cid
We are using a BULK Upsert API call into the Opportunity object.
Opportunity Workflow Rules are deactivated.
Account Workflow Rules are Active
Using the following fields to match and insert/update on External ID.
Opportunity.External_Id__c
Account.External_Id__c
As you see in my Debug log below: The workflow rules are firing, is that intentional? I know I can add a custom setting or deactivate the workflow but I am looking for if anyone else has seen this before.
Thanks in advance -- Cid
Yes workflow and trigger will fire for each DML opertaion. Actually upsert means Update and Insert . So according to the criteria rule done in workflow it will trigger the workflow if the condition is true.
Thanks
Amit Chaudhary