Hello,
Been testing the new Expression Builder block and found some ups and some downs.
I created this expression using Liquid and the test gives me OK on it but I can’t save it. I get this when I click on done.
Invalid Syntax - One of its operands is invalid.
{% assign home = "no" %}{% if {{home}} == "no" %}"no"{% else %}"yes"{% endif %}

My goal is something like this, create a
{% if {{ticket.tag}} contains "ApprovalStep2" %}{{R3.approver1}},{{R3.approver2}},{{R3.approver3}},{{R3.approver4}}{% else %}{{R2.approver1}},{{R2.approver2}},{{R2.approver3}},{{R2.approver4}} {% endif %}
This is part of a Approval flow.
My first action sets TAGS with this
https://gist.github.com/varazir/f9c714f8193e45531e8c5fbcdc57e61b
Next action is to send approval message based on “to be approved by”-types there are. Using tags for conditions and don’t want to make 2 setups with send approval actions.
( I wish there was a API option in the body when you send a note “approveby”: “everyone” )
Best answer by Daniel Söderlund
View original