Variables in Trigger conditions

Infos:

  • Used Zammad version: 5.1.x
  • Used Zammad installation type: source
  • Operating system: Debian 11
  • Browser + version: Chrome 101.0.4951.54

Expected behavior:

  • I want trigger to compare with a variable. E.g. if the person sent the last e-mail is the director of current organization.
    I have filled every Organization’s “Notes” field with their director’s e-mail addresses. And trying to create the following condition: Notes → Contains = #{article.updated_by.email}

Actual behavior:

  • False

Steps to reproduce the behavior:

  • Fill the note in Organization with some e-mail address
  • Create a trigger with the following condition: Notes → Contains = #{article.updated_by.email}
  • Send some reply to the ticket from that e-mail

You cannot use variables in triggers. Other wise it would be documented to be available.