You are not logged in.
Can anyone say where i can find the complete syntax that I can use to create the email template ?
I know "##IFticket.storestatus=closed##" is possible , but I want to have the inverse function:
Is it "##IFticket.storestatus<>closed##" OR "##IFticket.storestatus!=closed##" OR ... ??
Offline
Sorry, I'm having the same problem. I haven't seen much if any documentation on the email templates and their syntax.
Now using 0.78.1 on CentOS.
Offline
You only can use =
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
yeah, Jan, I used an Else statement to provide an opposite condition, it might work here for you. But I had a lot of problems with my else statement, and I had to stop using it because it created a lot of strange behavior in the template.
Now using 0.78.1 on CentOS.
Offline
I'd the same problem, about limitations of syntax options.
I just needed something simple like this:
##IFticket.numberoffollowups>1##
...
##ENDIFticket.numberoffollowups##
But finally, the only block that worked for me, after test was:
##IFticket.numberoffollowups=1##
##ENDIFticket.numberoffollowups##
##ELSEticket.numberoffollowups##
...
##ENDELSEticket.numberoffollowups##
(and assuming numberoffollowups=0 never compute my template)
:rolleyes:
Offline