
+2
Notification templates do not support nested if conditions
Hello,
notification template evaluation do not support nested IFs:
##IFticket.storestatus=5## ##IFticket.status=New## ... ##ENDIFticket.status## ##ELSEticket.status## ... ##ENDELSEticket.status## ##ENDIFticket.storestatus##I prepared patch which solves it. You can/must IFs number:
##IF0ticket.storestatus=5## ##IF1ticket.status=New## ... ##ENDIF1ticket.status## ##ELSE1ticket.status## ... ##ENDELSE1ticket.status## ##ENDIF0ticket.storestatus##
the template is evaluated then as expected.
FOREACH/ENDFOREACH is supported too.
Is it possible to include such patch in release? I believe it is useful.
Jirka Novak
Customer support service by UserEcho