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,
Notifications when ticket reach due date
Moderator: crythias
Re: Notifications when ticket reach due date
Hi,
use a pending reminder state instead.
Florian
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.
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.
-
- 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
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!
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)
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)
Re: Notifications when ticket reach due date
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
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.
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.
-
- 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
when value exceeds threshold, change something.
Do a Notification (Event) on that change.
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
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