Does updating a ticket from a trigger via API re-run triggers again?
Publication le 22 juin 2022
Following the SweetHawk document about how to update a ticket from a trigger via the API, does that API call cause the triggers to run again? Or is it smart enough to see that it is coming from a trigger already and not re-run triggers? Clear as mud? 🙃
0
2
2 commentaire
Ryan P.
Lou interesting, I didn't know that it loops through the triggers like that. But I would assume an API update would trigger a whole new round of triggers too (since it's a completely separate update). And in that concurrent scenario (initial update isn't complete but the second update is started) there could be some duplication and possible conflicts.
For example, I have a notification that is based on a (missing) tag that is added after sent. If they are to be sent in the initial update run. and this API update is also called, the notification could be sent twice. I should probably test that scenario, but wanted to get some input. Thanks
0
Lou
Short answer is yes. Triggers continue to cycle until no more conditions are met.
About triggers and how they work
Also, check out training.zendesk.com. There's a good course on triggers that touches on that subject. I believe it's still free.
On-Demand: Automate your customer service ticketing workflows
1
Vous connecter pour laisser un commentaire.