SalesforceUpsert Activity

This activity updates an existing object within the database of your organization. If the object does not exist, it creates a new object.

Settings

On the 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 Description
Connection Salesforce.com connection name. If you have created multiple Salesforce.com connections, select the one you want to use for this flow.
Object Salesforce.com business object name. From the list, select the object you want this activity to use.

Input

Note: Entering or mapping a value for the externalIdFieldname field on this tab is mandatory. For more information, see Salesforce documentation.

Input the details of the object that you want to update or create. You have the option to either enter the input manually or map the input to the output from a preceding activity provided that the preceding activity has an output. The input tree displayed for this activity depends on the object that you selected on the Settings tab.

Field Description
externalIdFieldName (Required) This is a custom field that has unique record identifiers that are not in Salesforce.
allOrNone

(Optional) Set it to true if you want the changes to be committed only if all records are processed successfully.

Set it to false if you want changed records to be processed successfully and the failed records to be marked as failed.

Output

The schema for the output of this activity is displayed in a tree format on this tab. The schema varies according to the object that you selected on the Settings tab. The elements that you see in the schema can be mapped as input to the activities that follow this activity in the flow.

Loop

If you would like this activity to iterate multiple times within the flow, enter an expression that evaluates the iteration details. Select a type of iteration from the Type menu. The default type is None, which means the activity does not iterate. Refer to the "Using the Loop Feature in an Activity" topic in TIBCO Flogo® Enterprise User Guide.TIBCO Cloud™ Integration documentation.