Help with trigger

  • Used Zammad version: 6.4.1.0d76d94fc0.saas

Expected behavior:

I want to use a trigger to send an email to my pending tickets once they are withing 3 days of reaching “pending till”

Actual behavior:

No email gets sent

Steps to reproduce the behavior:

This is what my trigger looks like:

my test ticket has “pending till” within 3 days and the correct state but the trigger does not run.

What am I missing?

Thanks!

The conditions technically look fine, however, you’ll want to use schedulers for this as triggers only react to ticket updates / creations. Time events are escalations or pending til events that happen to that moment. That’s not the case if this event is in the past or in the future.

Keep in mind that schedulers require you to ensure that the condition is no longer affected, because other wise the affected ticket will be handled by the same scheduler several times. If you run a scheduler once per day and you’re fine with that, you should be good without additional conditiions.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.