You are not logged in.
In my followup email I want to show the latest followup.description or the latest task.description, ie if the task.date is newer than the latest followup.date - show the task.description, else show the followup.description. I've tried as below, but can't get it to work.
##IFticket.numberoftasks<1##
##FOREACH LAST 1 followups##
##followup.description##
##ENDFOREACHfollowups##
##ENDIFticket.numberoftasks##
##ELSEticket.numberoftasks##
##IFticket.numberoffollowups<1##
##FOREACH LAST 1 tasks##
Vi har planerat att arbeta med ditt ärende: ##task.end##
##task.description##
##ENDFOREACHtasks##
##ENDIFticket.numberoffollowups##
##ENDELSEticket.numberoftasks##
##IFticket.numberoftasks>0##
##IFticket.numberoffollowups>0##
##FOREACH LAST 1 tasks##
##FOREACH LAST 1 followups##
##IFtask.date<followup.date##´
Vi har planerat att arbeta med ditt ärende: ##task.end##
##task.description##
##ENDIFtask.date##
##IFfollowup.date<task.date##
##followup.description##
##ENDIFfollowup.date##
##ENDFOREACHfollowups##
##ENDFOREACHtasks##
##ENDIFticket.numberoffollowups##
##ENDIFticket.numberoftasks##
Offline
Hi, could you solve this question ?
we are interested as well
Thanks
Offline
If you don't use the notification event ticket update you can solve this. I use followup notification or task notification so i got always only the notification about this object which was changed.
You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3
Offline