Notifications when ticket reach due date

Moderator: crythias

Locked
dmaeztu
Znuny newbie
Posts: 5
Joined: 05 Jun 2013, 12:18
Znuny Version: 3.2.7
Real Name: Diego

Notifications when ticket reach due date

Post by dmaeztu »

Hi all,

I would like to receive an email when a ticket expire. I use the field "Due date" but I don't know how to receive a notification when the ticket reach that date. Something like "autoclose" notification.

Do you know the best way to do it?

Thanks in advance,
wurzel
Znuny guru
Posts: 3274
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Notifications when ticket reach due date

Post by wurzel »

Hi,

use a pending reminder state instead.

Florian
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Notifications when ticket reach due date

Post by yuri0001 »

Hi!
Pending state not interesting.
I try to describe an idea about DueDate. I read it in one post about a year ago.
1. Create dynamic field, not displayed in input form, UPDuedate for example.
2. Create some code in GenericAgent.pm that every day, as example, calculate delta between Current Date and DueDate. If this delta <= some value, then UPDuedate=1
3. Create Event Notification for agent on event UpdateDynamicField_UPDuedate.

That's all.

I'm not programmer - becouse not done this idea.

Is it clear? 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)
wurzel
Znuny guru
Posts: 3274
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Notifications when ticket reach due date

Post by wurzel »

Hi,

yes, you are describing the doings for your needs.

Set Dynamic Field (Due Date) to a specific value
Create a generic Agent -> checks "is value set to a date or later" or something similar
the generic agent sets an action
the event based notification may send an e-mail.

you have to combine generic agent and event based notes.

Other possibility can be pending reminder, or Escalations.

Florian
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Notifications when ticket reach due date

Post by crythias »

when value exceeds threshold, change something.
Do a Notification (Event) on that change.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked