An InvocationEvent is representative of the data associated with the occurrence of an event, and supporting metadata about the source of that occurrence.
Properties
data
The payload of the event
• Readonlydata: A
dataContentType
The media type of the event payload that is accessible in data
• OptionalReadonlydataContentType: string
dataSchema
The schema that the event payload adheres to.
• OptionalReadonlydataSchema: string
id
The platform event occurrence id for event invocation.
• Readonlyid: string
source
An URI which identifies the context in which an event happened. Often this will
include information such as the type of the event source, the organization publishing the event, or the process that produced the event.
• Readonlysource: string
time
The timestamp of when the occurrence happened. If the time of the occurrence
cannot be determined then this attribute may be set to some other time
(such as the current time), however all producers for the same source must be consistent in this respect. In other words, either they all use the actual time of the occurrence or they all use the same algorithm to determine the value used.
• OptionalReadonlytime: string
type
A value describing the type of invocation. The format of this is producer defined and might include information such as the version of the type.
• Readonlytype: string
Product Retirement Announcement
Salesforce Functions is no longer available for purchase or renewal. To preserve the capabilities that Salesforce Functions provided to your org, deploy an alternative solution before your existing order term ends. See Salesforce Functions Retirement for more information on migrating your functions. Contact your Salesforce Account Executive for more information on Heroku.