Advanced conditions for email notifications
-
- UpdatedJan 30, 2025
- 1 minute read
- Yokohama
- Notifications
Use an advanced condition to send a notification based on the current email record, changing field values, or system properties.
- Call a function that returns a value, or
- Set the global variable
answer
using a script
Alternatively, you can script the same advanced condition by using the answer
variable:
Note that the script must set the answer
variable to
true to send the notification. If you script no conditionals, the
value of answer
is equal to the last value that you set for the variable.
You can add a script-based condition in the Advanced condition field by configuring the Email Notification form and adding the field. You can access the field in the Advanced view without configuring the form.
- current: contains the current record from the table to which the notification is linked.
- event: contains the event that triggered the notification.
Related Content
- Create an email notification
Create an email notification specifying when to send it, who receives it, what it contains, and if it can be delivered in an email digest.