ReceiveSalesforceMessage Trigger

ReceiveSalesforceMessage is a Salesforce.com trigger that is created by default when you create a flow for TIBCO Flogo® Connector for Salesforce.com. It receives messages whenever a change occurs in Salesforce.com and activates the flow.

To create a flow using this trigger, see the "Creating a Connection Flow" topic in the Flogo Enterprise User's Guide.

Trigger Settings

On the Trigger Settings tab, provide the following information to identify which Salesforce.com connection to use and the type of object to use for the selected connection.

Field Application Property? Description
Connection Salesforce.com connection name.

If you have multiple Salesforce.com connections, and would like to use a different connection than the one you specified when creating the flow, you can change the connection by selecting it from the drop down menu for this field.

Default value: The name of the Salesforce.com connection that you had selected at the time creating this flow.

Object Salesforce.com business object name.

If you would like to configure this trigger with a different object than the one you specified when creating the flow, you can change the object by selecting it from the drop down menu for this field.

Default value: The name of the Salesforce.com object that you had selected at the time of creating this flow.

Subscriber type The type of subscription.

Default value: PushTopic

Auto Create PushTopic Select False to use an existing Salesforce PushTopic.

Default value: True

Query Yes Available when you select Auto Create PushTopic as True.

The query used to receive information from Salesforce.com, for example Select Id, Name From Account. The query must be in the SOQL (Salesforce Object Query Language) syntax. Selecting the Id field is mandatory in the query for this trigger. The query object must be the same as the one that you selected in the Object Name field. See the Salesforce documentation for more details.

Channel Name Yes Available when Auto Create PushTopic is set to false.

Enter the topic name of the stream to which the listener subscribes.

The topic name starts with /topic/ and continues with the topic name configured on the Salesforce server.

Note: You can configure this activity only for a PushTopic that exists on the Salesforce server.
Replay ID Yes Available when Auto Create PushTopic is set to false.

Salesforce stores events for 24 hours. By configuring this field, you can retrieve events that are in the retention window.

  • -2 starts the replay from 24 hours ago.
  • -1 starts the replay from the moment the listener starts.
  • An actual replay ID means all events after that ID can be retrieved. For example, if the Replay ID is 7, all the events having Replay ID greater than 7 are retrieved.

Map to Flow Inputs

This tab allows you to map the trigger output to the flow input.