Salesforce Connector supports the Salesforce Streaming API. You can configure an event target in a Salesforce connection to publish messages to Salesforce platform events. You can use the event target in a process to publish mesages in near real time.
Note: You can't configure an event target to publish messages to Salesforce PushTopic queries.
After you define an event target for a Salesforce connection, you can publish the connection on the Cloud Server. You can then access the event target in a process and deploy the process on the Cloud Server to produce the events generated by the event target downstream.
To create event targets for a Salesforce connection, click Add Event Target on the Event Targets tab. Select the event target type as Event Target. You can add one or more event targets for each Salesforce Streaming Event connection that you create.
The following table describes the basic event target properties that you can configure:
Property
Description
Name
Required. The event target name that appears in the Process Designer. The name must be unique for the connection.
The name must start with an alphabet and can contain only alphabets, numbers, or hyphens (-).
Description
Optional. A description for the Salesforce event target that appears in the Process Designer.
The following table describes the event target property that you can configure:
Event Target Property
Description
Event Producer
Required. Name of the Salesforce platform event to which you want to publish messages.
To publish messages to platform events, enter the API name that you defined for the platform event in Salesforce, prefixed by the term /event/.
For example, consider a Salesforce platform event with the API name set to CS_PlatformEvent_e as shown in the following image:
For this Salesforce platform event, enter the following value in the Event Producer field: