Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 1.88 KB

File metadata and controls

12 lines (8 loc) · 1.88 KB

PUTPublicNotificationDefinitionRequestFilterRule

Properties

Name Type Description Notes
condition str The filter rule conditions, written in JEXL. The rule might contain event context merge fields and data source merge fields. Data source merge fields must be from the base object of the event or from the joined objects of the base object. Notifications with invalid merge fields will fail to evaluate, thus will not be invoked. For example, to trigger an event when an invoice is posted with the amount over 1000, you would define the following condition on the `Invoice` object: ```changeType == 'UPDATE' && Invoice.Status == 'Posted' && Invoice.Status_old != 'Posted' && Invoice.Amount > 1000``` There are conventions and keywords you need to be aware of. For example: * `changeType` is a keyword to specify what kind of change happened to the object. Allowed values are `INSERT`, `UPDATE` or `DELETE`. * `Invoice.Status` refers to field `Status` of the Zuora object `Invoice`. * A variable with the `_old` suffix means it’s a previous value of the corresponding object field. The "_old" fields are only available on the base objects.
description str The description of the filter rule. [optional]
parameters FilterRuleParameterDefinitions

[Back to Model list] [Back to API list] [Back to README]