Opportunity triggers in Sandbox not fired | Community
Skip to main content
Hchen151
Level 3
April 4, 2022
Solved

Opportunity triggers in Sandbox not fired

  • April 4, 2022
  • 1 reply
  • 3424 views

We have a Lead Scoring system connected to the CRM of which several campaigns are supposed to fire as soon as receiving the corresponding data from the CRM. Those campaigns use the Added to Opportunity and Opportunity is Updated triggers. However, none of the Trigger executes even when the values arrive Marketo Sandbox via API (Set as <action>CreateORUpdate</action>). Wonder if there's anything I missed out checking. According to the article at the link, it seems the two triggers have definition which needs to pay attention to.

https://nation.marketo.com/t5/product-blogs/opportunity-is-updated-v-added-to-opportunity/ba-p/243734

 

Would be glad to have some suggestion!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Darshil_Shah1

Sorry, did it a bit late- I just updated the trigger campaign together with the activity log in the previous comment.


Ahh - I guess you need to update the constraint on the Opportunity is Updated trigger to something like below (you need to use the New Value constraint for the trigger attribute, i.e., custom status field):

Add the values for custom status field on which you would wanna trigger off in the "New Value" constraint.

 

Hope this helps!

 

1 reply

Darshil_Shah1
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
April 4, 2022

As per the constraint defined in the triggers - opportunity custom status field needs to be won for them to fire. Did you pass the apt values to the custom status field while creating/updating the opportunity for the person? If so, do you have any other filters/qualification rules defined in the SC that may be blocking the person from qualifying for the campaign? 

Hchen151
Hchen151Author
Level 3
April 6, 2022

No more constrains, and the Won value is passed from the CRM via API, which was checked several times. What was funny was that we have another Marketo account which has the identical campaign config. It works well. Therefore, I'm thinking if it could be the Marketo environment setting or the API definition or other reasons

Darshil_Shah1
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
April 7, 2022

Do you see the Opportunity getting added/updated in the person activity log in your sandbox instance when you update via API?