Support @Zendesk: The Trigger everyone needs Follow

Comments

3 comments

  • Avatar
    Michael Carrabine

    Do you have any recommendations on where in the order of default triggers you would place this rule (and maybe why)?

  • Avatar
    Colin Piper

    @Michael. I add all my Create triggers at the top of my list and my Update triggers after. No real reason but it make sense to me at least. In my create triggers I tend to set Group early so that I can refer to group in later triggers.
    Hope this gives you some suggestions although generally each to their own

  • Avatar
    Jessie Schutz

    Hey Michael!

    Since triggers fire in the order in which they're listed, there are two major things you'll want to pay attention to when deciding how to order things. This applies to all triggers.

    You'll want to make sure that you position it before any triggers that would change the properties of the ticket in such a way as to prevent this trigger from firing when it's supposed to.

    You'll also want to place it after any triggers that will change properties that are necessary for this trigger to fire when it's supposed to.

    In this specific case, because it's a very simple trigger, you probably won't need to worry about it too much. Placing the trigger at the top of list as Colin recommended will likely be fine. :)

Please sign in to leave a comment.

Powered by Zendesk