| ExternalId |
- Type
- string
- Properties
- Filter, Group, Nillable, Sort
- Description
- The ID of the subscriber. For example, the trigger ID.
|
| IsPartitioned |
- Type
- boolean
- Properties
- Defaulted on create, Filter, Group, Sort
- Description
- Indicates whether the platform event Apex trigger is configured
with parallel subscriptions (true) or not (false). The default value is false. See Platform Event Processing at
Scale with Parallel Subscriptions for Apex Triggers in
the Platform Events Developer Guide.
- This field is available in API version 62.0 and later.
|
| LastError |
- Type
- string
- Properties
- Filter, Group, Nillable, Sort
- Description
- The error message that the last thrown EventBus.RetryableException
contains. This field applies to Apex triggers only. Available in
API version 43.0 and later.
|
| LastProcessed |
- Type
- string
- Properties
- Filter, Group, Nillable, Sort
- Description
- The replay ID of the last event that the subscriber
processed. This field replaces Position
as of API level 66.0.
|
| LastPublished |
- Type
- string
- Properties
- Filter, Group, Nillable, Sort
- Description
- The replay ID of the last published event. This field
replaces Tip as of API level 66.0.
For high-volume platform events and change events,
the value for Tip isn’t available and is always -1.
|
| Name |
- Type
- string
- Properties
- Filter, Group, Nillable, Sort
- Description
- The name of the subscribed item, such as the trigger or process
name. If the subscribed item’s name is “Process”, at least one flow
Pause element is subscribed to the event.
|
| Position |
- Type
- int
- Properties
- Filter, Group, Nillable, Sort
- Description
- The replay ID of the last event that the subscriber
processed. This field has been deprecated as of API
level 66.0 and should no longer be used. Use
LastProcessed instead.
This field may not be properly represented if the value
exceeds the maximum integer size.
|
| Retries |
- Type
- int
- Properties
- Filter, Group, Nillable, Sort
- Description
- The number of times the trigger was retried due to throwing the
EventBus.RetryableException. This field applies to
Apex triggers only. Available in API version 43.0 and later.
|
| Status |
- Type
- picklist
- Properties
- Filter, Group, Nillable, Restricted picklist, Sort
- Description
- Indicates the status of the subscriber. Can be one of these
values:
-
Error— The
subscriber was disconnected and stopped receiving published
events. A trigger reaches this state when it exceeds the
number of maximum retries with the EventBus.RetryableException. Trigger assertion
failures and unhandled exceptions don’t cause the error
state. We recommend limiting the retries to fewer than nine
times to avoid reaching this state. When you fix and save the
trigger, or for a managed package trigger, if you redeploy
the package, the trigger resumes automatically from the tip,
starting from new events. Also, you can resume a trigger
subscription in the subscription detail page that you access
from the platform event page.
-
Repartitioning—The system is in the process
of modifying the trigger's parallel subscription
configuration.
-
Running—The
subscriber is actively listening to events. If you modify the
subscriber, the subscription continues to process
events.
-
Suspended—The
subscriber is disconnected and can’t receive events because a
Salesforce admin suspended it or due to an internal error.
You can resume a trigger subscription in the subscription
detail page that you access from the platform event page. To
resume a process, deactivate it and then reactivate it. If
you modify the subscriber, the subscription resumes
automatically from the tip, starting from new events.
- For more information, see View and
Manage an Event’s Subscribers on the Platform Event’s Detail
Page in the Platform Events Developer
Guide.
|
| Tip |
- Type
- int
- Properties
- Filter, Group, Nillable, Sort
- Description
- The replay ID of the last published event. This field
has been deprecated as of API level 66.0 and should no
longer be used. Use LastPublished
instead. This field may not be properly represented if the
value exceeds the maximum integer size.
For high-volume
platform events and change events, the value for Tip isn’t
available and is always -1.
|
| Topic |
- Type
- string
- Properties
- Filter, Group, Nillable, Sort
- Description
- The name of the subscription channel that corresponds to a
platform event or change event. For a platform event, the topic
name is the event name appended with __e, such
as MyEvent__e. For a change event, the topic
is the name of the change event, such as
AccountChangeEvent.
|
| Type |
- Type
- string
- Properties
- Filter, Group, Nillable, Sort
- Description
- The subscriber type (ApexTrigger). If the subscriber is a process or flow
Pause element, the type is blank.
|