if/else liquid markup trigger

Respondida

3 Comentarios

  • Adil Malik

    I figured out that the brackets on the placeholders were causing the issue. The following resolves my request. 

    "requester_language":"{% if ticket.requester.language% == 'Deutsch'%} DE {% endif %} {% if ticket.requester.language% == 'English'%} EN-US {% endif %} {% if ticket.requester.language% == 'Italiano'%} IT {% endif %} {% if ticket.requester.language% == 'Português (Portugal)'%} PT-BR {% endif %} {% if ticket.requester.language% == 'Português (Brasil)'%} PT-BR {% endif %} {% if ticket.requester.language% == 'Español'%} ES-ES {% endif %} {% if ticket.requester.language% == 'Español (España)'%} ES-ES {% endif %}",

    2
  • Heather Rommel
    Community Moderator
    Zendesk Luminary
    The Product Manager Whisperer - 2021

    Thanks for posting the solution!

    1
  • Anita Rajkumar

    this will work 

    {% if ticket.ticket_field_option_title_1900002251207 == "DVT/SCD Pump" %}

    UDI #: {{ticket.ticket_field_option_title_13823381549204}}

     

    {%else if  ticket.ticket_field_option_title_1900002251207 == "Bladder Scanners" %}

    UDI #: {{ticket.ticket_field_option_title_13823750041364}}

     

     

    {% endif %}

     

    0

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk