You are not logged in.
Hi,
I'm crate some new templates for Ticket events.
When I insert ##followup.description## nothing would be interpret.
How get I the Content of the actual Followup/Task etc.?
Bye
Gregor
Last edited by grefabu (2023-11-22 11:01:09)
Offline
With ticket events, an array of followups are available and therefore you need to use the ##FOREACHticket.followups## and ##ENDFOREACHticket.followups## tags and then place the ##followup.description## tag between them.
https://glpi-user-documentation.readthe … ample.html
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
But then I've all the entries in the notification.
I want only the current?
Offline
Here this should work
##FOREACH LAST 1 followups##
##followup.description##
##ENDFOREACHfollowups##
Offline
Here this should work
##FOREACH LAST 1 followups##
##followup.description##
##ENDFOREACHfollowups##
You're right!
Offline