You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-12-13 10:29:25

SomeDude
Member
Registered: 2023-11-22
Posts: 62

Conditional Notification Template

Hello,

I wanted to add a Notification for the IT - Group if a new Ticket is created.
So I added them to the recipients now i want to have a Notification template just for them and another for the Recipient.
So can you write conditionals or do i have to work around that somehow ?

With kind regards

SomeDude

Offline

#2 2023-12-13 10:40:36

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,287

Re: Conditional Notification Template

create 2 different notifications : same event but  select different templates and recepients


Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9

Offline

#3 2023-12-13 11:19:51

SomeDude
Member
Registered: 2023-11-22
Posts: 62

Re: Conditional Notification Template

I tried that but the Emails for the IT - group dont get sent.

Event is New Ticket so my guess is it only works for the Creator of the Ticket.

Last edited by SomeDude (2023-12-13 11:20:05)

Offline

#4 2023-12-13 11:26:25

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,287

Re: Conditional Notification Template

when you give a try, does  requester and technician have same e-mail ?  (in earlier versions, one event can only send 1 notification to the same user, I guess it's still the same).

I have 2 notifications with 2 templates ( for requester and for requester's group manager) when creating new tickets and it works well


Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9

Offline

#5 2023-12-13 11:30:32

SomeDude
Member
Registered: 2023-11-22
Posts: 62

Re: Conditional Notification Template

I have it running on an entity does that influence it in some way ?

Also i want to send the email to everybody that is in the IT group

Offline

#6 2023-12-13 11:32:11

SomeDude
Member
Registered: 2023-11-22
Posts: 62

Re: Conditional Notification Template

Okay it works now ,but not if i say send it to everybody in the group except managers which would make it a lot nicer

Last edited by SomeDude (2023-12-13 11:36:44)

Offline

Board footer

Powered by FluxBB