Creating a notification to identify tickets that are stuck at the back of the queue due to no SLA being applied

8 Comments

  • Hillary Latham

    Thanks Chandra!  We have the issue with SLAs not triggering and now I know why!

    0
  • Chandra Robrock
    Community Moderator
    Most Helpful - 2021

    @... Of course! I'm thrilled to hear that you found this post to be helpful. :)

    0
  • Rudolph Beaton
    Zendesk Luminary

    Woah, crazy timing on this! I actually implemented steps 1 & 2 last week before this article was written. I was having some trouble figuring out the solution provided in step 3, so I appreciate the detailed guide!

    Thanks, Chandra!

    -Rudolph

    0
  • Chandra Robrock
    Community Moderator
    Most Helpful - 2021

    @... What timing! I'm so happy to hear that this helped you get this implementation across the finish line. 

    0
  • Monica

    Thanks for this article!  Excited to try it out.  Tickets without an SLA are a big hurdle to organizing views how I'd ideally like to organize them.

    0
  • Chandra Robrock
    Community Moderator
    Most Helpful - 2021

    Monica Agree completely! I love sorting views based on the Next SLA Breach column. Excited to hear how your team likes this solution once implemented.

    0
  • Olli

    Thanks for this sophisticated solution! 

    One question, I had in mind that a specific automation can only fire once per specific ticket. Obviousle I'm remembering this wrong, because your solution won't work twice on the same ticket. But can you confirm it does? So I'll happily adjust my brain and even more happily start identifying SLA-orphaned tickets!

    Thanks so much!
    Oliver

    0
  • Chandra Robrock
    Community Moderator
    Most Helpful - 2021

    Excellent question, @...! Automations must contain either a condition that is true only once or an action that nullifies at least one of the conditions.

    In this case, I'm using the latter option which means this automation can run more than once should the ticket get stuck in the back of the queue once more. More detailed information on how I'm doing that below:

    In the actual automation, I'm adding a stuck_notification_sent tag when this automation fires. Under the Conditions section. I'm then looking for tickets that match the criteria but do not already have the stuck_notification_sent tag. The action of adding tag nullifies that tag condition and prevents this automation from firing in an endless loop. Zendesk should show an error in the UI if you were to try to save this automation without that nullifying criteria.

    To get this automation to run for future ticket updates, you'll need to remove the stuck_notification_sent tag (in addition to the active_sla_ticket tag that we added for some tickets in Step 1). I'm automatically removing both the stuck_notification_sent tag as well as the active_sla_ticket tag via the trigger in Step 3 after the agent's next public comment. That way, if that ticket reopens, the entire process will start over again depending on whether the latest ticket update has an active SLA target or not.

    Let me know if you have any questions about that! I use that type of nullifying tag logic in several of my automations as it's a pretty handy trick.  

     

    0

Please sign in to leave a comment.

Powered by Zendesk