criterion

This topic is part of the eventsubscriber SDF custom object documentation.

Each criterion structured field defines an event subscription and the parameters used to filter it.

Fields

Name

Type

Required / Optional

Description

domain

string

Required

Domain of the subscribed event.

The supported value is 'RECORD'.

type

string

Required

Type of event that triggers the Event Subscriber script.

Possible values are 'CREATED', 'UPDATED', and 'DELETED'.

Structured Fields

Structured fields are elements that usually contain subfields or groups of fields. They are similar to regular fields but have their own embedded structure. The following structured fields are supported:

General Notices