LIquid if/else not working


  • Graeme Carmichael
    Community Moderator


    I don't believe that the problem is the IF condition, but that the signature field does not recognise the placeholder.

    I can reproduce your results. The condition works in ticket comments but not signatures.

    If you take a look at the first comments here  you will see a similar request by Sean. The article says that signatures support 'some placeholders' but does not go into details.

  • Andrew J
    Community Moderator

    Hmm... that's a bit annoying.  But I see the same DC does work (somewhat) in the comment ie. the liquid logic works but the result is rendered badly by markup-HTML conflict.

    I've got another DC that builds the signature and if I wanted to use {{}}  |  {{}} I would expect that to work...

    After all the placeholder is used in a DC, and the DC works...

    And the group name works in DC in other situations - sooo... the restriction is in there on purpose or is there some mix up?



Please sign in to leave a comment.

Powered by Zendesk