You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Justin Kimbrell edited this page Feb 13, 2015
·
4 revisions
Overview
Extra Conditional fields all work the same and are designed for you to add custom conditionals that will be validated to determine if the parcel or notification should be sent. To prevent a parcel or notification from sending, simply ensure the parsed value of the conditional evaluates to false or FALSE.
Note, Extra Conditional fields are parsed with the Twig template engine.
Example
// Prevent parcel from sending if user.someCustomField is a specified value
{% if user.someCustomField == 'some value' %}false{% endif %}
// Prevent parcel from sending if user.someCustomField is not a specified value
{% if user.someCustomField != 'some value' %}false{% endif %}