You are not logged in.
Hi all!
I know that this is threat that have been posted many times but we need to solve it. Cmopn guys!
We want to personalize the notification who a customer posts when add a task, followup or solution is posted on a ticket as new, or modified.
I know about the TAGs but I'm not sure how it works.
We only want to send the last update. Now the customer is recieving a list with all followups and task historic. This is so awkward for the customer, find relative information about their last update.
How I can use the tags???
Each tag works even if were between other tags or similar?? because there are some that show nothing when you use it???
Anybody have a list with the function of every tags.
For example:
##task.description## = shows a description of the ticket but you should use between ##foreach****## tag
##ticket.entity## = shows the entity who is linked to the ticket.
I have read in other post that there are a tag like ##FOREACHLAST task## to show last task or followup, but it doesn't work.
PD: sorry about my english
Offline
##FOREACHauthors##
##lang.author.name## ##author.name##
##lang.author.location## ##author.location##
##ENDFOREACHauthors##
or
##FOREACHtask##
##lang.task.description## ##task.description##
{add some others task related tags if needed}
##ENDFOREACHtask##
Notice : if you use these "loops" in
<table>##FOREACHtask## <tr><td>##lang.task.description##</td> </tr>##ENDFOREACHtask## </table>
sometimes, glpi rewrites the translation and put both tags (foreach) together at the top of table. ( looks like a bug)
Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6
Online
Thanks LaDenrée
Well but how aboutif we only want to post in the email the last task updated or followup, because ##FOREACH*****# shows all historical data... isn't it true?
Offline
with followups it works with
##FOREACH last followups## ##followup.author## ##followup.date## :
##followup.description## ##ENDFOREACHfollowups##
I guess it also works for tasks (not checked on my 0.90.1)
##FOREACH last tasks##
##lang.task.description## ##task.description##
{add some others task related tags if needed}
##ENDFOREACHtasks##
Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6
Online
If you only want the last followup
##FOREACH LAST 1 followups##
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Great, task is working for mi at this moment.
But followups it imposible... i´ve tried with
##FOREACH LAST 1 followups##
and with
##FOREACH last followups##
This is my template:
Estimad@ ##ticket.authors##
##FOREACH last followups##
##followup.author## ha agregado una mensaje al ticket " ##ticket.title## ":
##lang.followup.description##: ##followup.description##
##ENDFOREACHfollowups##
Si desea añadir mas informacion, conteste a este mensaje sin modificar el asunto del mismo.
Offline
Have you private follow-up?
Has your user rights to read follow-up in his profile?
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Hola,
El problema es que en tu plantilla falta el número de seguimiento si quieres contabilizar el ultimo o últimos, depende del número que pongas te indica los seguimientos del histórico.
Estimad@ ##ticket.authors##
##FOREACH last 1 followups##
##followup.author## ha agregado una mensaje al ticket " ##ticket.title## ":
##lang.followup.description##: ##followup.description##
##ENDFOREACHfollowups##
---------------------------------------------------------------------------------------------
Y si necesitas mostrar todos hay un error de sintaxis, el TAG va junto sin espacios ##FOREACHfollowups##
Estimad@ ##ticket.authors##
##FOREACHfollowups##
##followup.author## ha agregado una mensaje al ticket " ##ticket.title## ":
##lang.followup.description##: ##followup.description##
##ENDFOREACHfollowups##
Offline