Skip to main content
Paul_Johnson
Level 4
June 7, 2016
Respondido

trigger not working

  • June 7, 2016
  • 1 comentário
  • 1224 Visualizações

trying to send off a smart campaign. This trigger is not working for some reason. Let me explain what I'm trying to do:

I want to send out an email when an opportunity's stage is changed to "closed won"

As long as:

  • deal type is new account
  • team is one of the mentioned teams
  • and the total closed seats on the account is at most 5

Este tópico foi fechado para respostas.
Melhor resposta por Grégoire_Miche2

Hi Paul

From what you describe, the trigger seems to be correct.

You can try a "has opportunity" filter with the same criteria (deal type, team and total closed seats and stage is closed won) to check that you have leads in the DB with this type of opened oppy. if the smart list comes up empty, then it would explain why the trigger did not fire. the most likely reason is that the contacts are not really attached to the oppy, in the "Opportunity contact role" section.

-Greg

1 comentário

Grégoire_Miche2
Level 10
June 7, 2016

Hi Paul

From what you describe, the trigger seems to be correct.

You can try a "has opportunity" filter with the same criteria (deal type, team and total closed seats and stage is closed won) to check that you have leads in the DB with this type of opened oppy. if the smart list comes up empty, then it would explain why the trigger did not fire. the most likely reason is that the contacts are not really attached to the oppy, in the "Opportunity contact role" section.

-Greg