Skip to main content
Hchen151
Level 3
Apr 4, 2022 9:16 PM UTC
Solved

Opportunity triggers in Sandbox not fired

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.
Darshil_Shah1
Darshil_Shah1Accepted solution
Adobe Champion, Community Advisor, UG Leader
May 9, 2022 5:51 PM UTC

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!

 

12 replies

Darshil_Shah1
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Apr 4, 2022 11:15 PM UTC

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? 

Translate
Hchen151
Hchen151Author
Level 3
Apr 6, 2022 10:44 PM UTC

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

Translate
Darshil_Shah1
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Apr 7, 2022 3:29 AM UTC

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

Translate