Ricerche recenti


Nessuna ricerca recente

Gestione delle categorie di trigger per i trigger di ticket



image avatar

Lisa Kelly

Zendesk Documentation Team

Data ultima modifica: 19 mar 2025


3

0

25 commenti

Re the comment above… My solution to this issue was to have 3 categories:

  • Pre-Notification Status Changes
  • Notifications
  • Post-Notification Status Changes

So far this has sufficed to let me both categorize and adjust execution order to make triggers fire the way I want them to. Our implementation of Zendesk is pretty basic, so maybe this won't suffice for other use cases, but it's a suggestion.

0


Thanks, Lisa! Your article was really useful. I was struggling with that. haha

Cheers!

0


Practical problem with Trigger categories. 

Trigger order of execution is sequential and the ordering of trigger is within the category. this limits  categorization of triggers.

you cannot place trigger in different categories and arrange them.  This leads us to place most of the trigger in one category as per the order we want to execute even if they supposed to be in different category.   

Solution : Please make trigger ordering global irrespective of category they belong. 

1


Just dropping by to say it's still very hard to locate the mention of the error you can encounter when attempting to move triggers ("...order couldn't be updated.  Give it moment & try again)" as mentioned by Pat S here, even though ZD said it was updated to be more obvious.

That said, thanks to the link in the post/article I was able to realize the cause.  FWIW, if you know how to inspect in the browser console, you can locate it yourself without generating a har file.  I went to the network tab and could see the errored call in red.  Clicking on that then the response tab showed me JSON that indicated 3 groups had been deleted somewhere in one of the 72 triggers I was attempting to move.  Its a bit of needle in a haystack from there as I know the group id that was deleted but not which trigger has the bad group.  I found and fixed one, 2 more to go. 

KUDOS to Pat S for the callout (you saved Zendesk a ticket from me).

1


Awesome.  Thank you

0


Hi Larry

You can bulk move multiple triggers into a category.  You don't have to do it one at a time. See Reordering triggers for information on how to select the triggers you want to move, then drag them into a category. 

  1.  On the Triggers page, click Edit order
  2. Select the Triggers you want to move. 

  3. Drag them to another category. 
  4. Save your changes.

Also, you can use the Triggers API to assign a category_id. 

0


I have enabled categories on triggers (because ZD is forcing us to). Now that I have to I would actually like to use this  feature to organize my 573 triggers into categories!  How to I bulk move them from the "Initial Category" into another, newly created category?  It seems like I can only move one at a time by opening each, changing the category, and saving it (573 times).

0


Thanks for the explanation, Chris Fassano. I really appreciate it!

0


Ryan Boyer - If conditions for all 4 triggers are met at the same time, they'll run based on their position in the list. 1, 4, 2, 3. 

But you could design the conditions in a way that would make the triggers fire in numerical order.

Trigger 1 - add's tag "trigger1_fired".

Trigger 2 - when the ticket is updated and "trigger1_fired" is present, add tag "trigger2_fired".

Trigger 3 - when the ticket is updated and "trigger2_fired" is present, add tag "trigger3_fired".

Trigger 4 - when the ticket is updated and "trigger3_fired", do the thing

1


Can you reorder the triggers independent of the categories? For example, let's say I have the following order of triggers so they fire in this order:

  1. Trigger 1
  2. Trigger 2
  3. Trigger 3
  4.  Trigger 4

If I use trigger categories, is the order in which they run different? For example, let's say I organized the above for triggers like such:

Category A

  • Trigger 1
  • Trigger 4

Category B

  • Trigger 2
  • Trigger 3

Will the triggers still run in the order of Trigger 1, Trigger 2, Trigger 3, Trigger 4? Or, will the order now run as Trigger 1, Trigger 4, Trigger 2, Trigger 3?

1


Accedi per aggiungere un commento.

Dettagli account

Accedi per vedere i dettagli

Accedi per vedere all’istante i dettagli del tuo account

Accedi