[SOLVED] Notification (event) not firing (OTRS 3.1)

Moderator: crythias

Locked
intrepidfroot
Znuny newbie
Posts: 16
Joined: 22 Mar 2012, 10:21
Znuny Version: 31000
Real Name: Matthew Smith

[SOLVED] Notification (event) not firing (OTRS 3.1)

Post by intrepidfroot »

Hello.
I'm trying to configure an event notification but for some reason it isn't working.

I want to send an email to members of a role when a ticket in a queue is escalated. I've set the necessary groups/roles/queues correctly.

If I set the event as one (or all) of the following, nothing happens. Any other event sends off an email so I'm not sure what the problem could be.

EscalationResponseTimeNotifyBefore
EscalationResponseTimeStart
EscalationResponseTimeStop
EscalationSolutionTimeNotifyBefore
EscalationSolutionTimeStart
EscalationSolutionTimeStop
EscalationUpdateTimeNotifyBefore
EscalationUpdateTimeStart
EscalationUpdateTimeStop

Any ideas?
Last edited by intrepidfroot on 10 Apr 2012, 17:30, edited 1 time in total.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Notification (event) not firing (OTRS 3.1)

Post by jojo »

is the cronjob running?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Notification (event) not firing (OTRS 3.1)

Post by yuri0001 »

The first idea, that this events not referred to queue, but to ITSM attributes and will works only if them is filled for ticket.
I'm not quite sure of the correctness of my idea, but if you don't fill this attributes - how system know about an event happens?
Sorry my bad English :?
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
intrepidfroot
Znuny newbie
Posts: 16
Joined: 22 Mar 2012, 10:21
Znuny Version: 31000
Real Name: Matthew Smith

Re: Notification (event) not firing (OTRS 3.1)

Post by intrepidfroot »

Hi.

thanks for your prompt response. Which cronjob are you referring to?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Notification (event) not firing (OTRS 3.1)

Post by jojo »

the OTRS cronjobs, which need to be enabled and adjusted
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
intrepidfroot
Znuny newbie
Posts: 16
Joined: 22 Mar 2012, 10:21
Znuny Version: 31000
Real Name: Matthew Smith

Re: Notification (event) not firing (OTRS 3.1)

Post by intrepidfroot »

Are there particular cronjobs perhaps associated with escalations? As mentioned in my first post, the event notifications are working for other event types.
intrepidfroot
Znuny newbie
Posts: 16
Joined: 22 Mar 2012, 10:21
Znuny Version: 31000
Real Name: Matthew Smith

Re: Notification (event) not firing (OTRS 3.1)

Post by intrepidfroot »

yuri0001 wrote:The first idea, that this events not referred to queue, but to ITSM attributes and will works only if them is filled for ticket.
I'm not quite sure of the correctness of my idea, but if you don't fill this attributes - how system know about an event happens?
Sorry my bad English :?
Hi Yuri0001.

As the tickets are correctly escalated I assume that the system is aware of the event.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Notification (event) not firing (OTRS 3.1)

Post by jojo »

have a look in Kernel/Config/GenericAgent.pm

and perhaps you need to adjust the times in var/cron
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
intrepidfroot
Znuny newbie
Posts: 16
Joined: 22 Mar 2012, 10:21
Znuny Version: 31000
Real Name: Matthew Smith

Re: Notification (event) not firing (OTRS 3.1)

Post by intrepidfroot »

jojo wrote:have a look in Kernel/Config/GenericAgent.pm

and perhaps you need to adjust the times in var/cron
I'll take a look and see if anything jumps out at me.
Will post back either way
intrepidfroot
Znuny newbie
Posts: 16
Joined: 22 Mar 2012, 10:21
Znuny Version: 31000
Real Name: Matthew Smith

[SOLVED]Re: Notification (event) not firing (OTRS 3.1)

Post by intrepidfroot »

Thanks jojo, you were right.

Had to simply uncomment the lines in GenericAgent.pm relating to escalation notifications.

All working now.
Locked