[SOLVED] Notification (event) not firing (OTRS 3.1)
Moderator: crythias
-
- 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)
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?
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.
Re: Notification (event) not firing (OTRS 3.1)
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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- 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)
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
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)
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)
-
- 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)
Hi.
thanks for your prompt response. Which cronjob are you referring to?
thanks for your prompt response. Which cronjob are you referring to?
Re: Notification (event) not firing (OTRS 3.1)
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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- 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)
Are there particular cronjobs perhaps associated with escalations? As mentioned in my first post, the event notifications are working for other event types.
-
- 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)
Hi Yuri0001.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
As the tickets are correctly escalated I assume that the system is aware of the event.
Re: Notification (event) not firing (OTRS 3.1)
have a look in Kernel/Config/GenericAgent.pm
and perhaps you need to adjust the times in var/cron
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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- 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)
I'll take a look and see if anything jumps out at me.jojo wrote:have a look in Kernel/Config/GenericAgent.pm
and perhaps you need to adjust the times in var/cron
Will post back either way
-
- 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)
Thanks jojo, you were right.
Had to simply uncomment the lines in GenericAgent.pm relating to escalation notifications.
All working now.
Had to simply uncomment the lines in GenericAgent.pm relating to escalation notifications.
All working now.