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 2022-10-25 16:47:56

GpTorino
Member
Registered: 2022-06-16
Posts: 12

IF statement in notificaion

hi to all i am trying to create a notification for the ticket validation but regardless of the approver response i always get the same output as if the validation was refused (the "storestatus" seems no to be take into account at all)

there is the template the text must be outputted bracketed to allow the receiver to manage the response automatically:

##FOREACHvalidations##

##IFvalidation.storestatus=3## [STATUS2]

##ENDIFvalidation.storestatus##

##ELSEvalidation.storestatus=2## [STATUS1]

##ENDELSEvalidation.storestatus##

##validation.author##:

##validation.commentvalidation##

##ENDFOREACHvalidations##

i also tried ESLE without specifying store status in this case the message il always sent out accordingly to the else part.  what am i doing wrong?

Thanks in advance to all

Offline

Board footer

Powered by FluxBB