Send e-mail if ticket not locked in 30 minutes

Moderator: crythias

Post Reply
IBVHungary
Znuny newbie
Posts: 2
Joined: 17 Jan 2018, 10:15
Znuny Version: 5.0.22

Send e-mail if ticket not locked in 30 minutes

Post by IBVHungary »

Hi!

We want to send a notification to the agents if a ticket not locked in 30 minutes. Is it possible to send notifications automatically about these tickets?

Szilard
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Send e-mail if ticket not locked in 30 minutes

Post by reneeb »

1) Create a dynamic field "still_unlocked" of type text.
2) Use an event based GenericAgent that listens to the TicketCreate event and set the still_unlicked field to 0.
3) Use a time based GenericAgent that checks for tickets that are created "more than 30 minutes ago" and that have the still unlocked field set to 0. That GenericAgent sets the field to 1.
4) Use a ticket notification that listens to updates of the still_unlocked field und filters ticket that have the field set to 1. And define the recipients and texts.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Post Reply