July 31, 2023

tSalesforceOutputBulk – Docs for ESB Sales Force 7.x


Generates the file to be processed by the tSalesforceBulkExec component for bulk

The tSalesforceOutputBulk and
tSalesforceBulkExec components are used together in a two
step process. In the first step, an output file is generated. In the second step, this file is
used to feed the Salesforce database. These two steps are fused together in the tSalesforceOutputBulkExec component. The advantage of using two
separate steps is that the data can be transformed before it is loaded into Salesforce.

tSalesforceOutputBulk Standard properties

These properties are used to configure tSalesforceOutputBulk
running in the Standard Job framework.

The Standard
tSalesforceOutputBulk component belongs to the Business and the Cloud families.

The component in this framework is available in all Talend

Basic settings

Schema and Edit schema

A schema is a row description. It defines the number of fields
(columns) to be processed and passed on to the next component. When you create a Spark
Job, avoid the reserved word line when naming the

Click Edit
to make changes to the schema. If the current schema is of the Repository type, three options are available:

  • View schema: choose this
    option to view the schema only.

  • Change to built-in property:
    choose this option to change the schema to Built-in for local changes.

  • Update repository connection:
    choose this option to change the schema stored in the repository and decide whether
    to propagate the changes to all the Jobs upon completion. If you just want to
    propagate the changes to the current Job, you can select No upon completion and choose this schema metadata
    again in the Repository Content

Click Sync
to retrieve the schema from the previous component connected in the

component offers the advantage of the dynamic schema feature. This allows you to
retrieve unknown columns from source files or to copy batches of columns from a source
without mapping each column individually. For further information about dynamic schemas,
Talend Studio

User Guide.

dynamic schema feature is designed for the purpose of retrieving unknown columns of a
table and is recommended to be used for this purpose only; it is not recommended for the
use of creating tables.

Bulk File Path

Specify the path to the file to be generated.


Select this check box to append new data at the end of the file if it
already exists, instead of overwriting the existing data.

Ignore Null

Select this check box to ignore NULL values.

Advanced settings

Relationship mapping for upsert

Click the
[+] button to add lines as needed and specify
the external ID fields in the input flow, the lookup relationship fields in the upsert
module, the lookup module as well as the external ID fields in the lookup module.

  • Column name of Talend Schema:
    the name of the external ID field in the input flow. It refers to the fields in the
    schema of the preceding component. Such columns are intended to match against the
    external ID fields specified in the External id
    column, which are the fields of the lookup module specified in the
    Module name column.

  • Lookup relationship field name:
    the name of the lookup relationship field. It refers to the lookup
    relationship fields of the module specified in the Module Name field in the Basic settings view of the tSalesforceBulkExec component and is
    intended to establish relationship with the lookup module specified in
    the Module name column in this
    table. For how to define the lookup relationship fields and how to
    provide their correct names in the Lookup
    relationship field name
    field, go to the Salesforce
    website and launch the Salesforce Data Loader application for proper
    actions and information.

  • Module name: the name of the lookup module.

  • Polymorphic: select this check box when and only when
    polymorphic fields are used for relationship mapping. You will get an error if you keep
    this check box cleared for a polymorphic field or select it for a field that is not
    polymorphic. For more information about the polymorphic fields, search polymorphic at http://www.salesforce.com/us/developer/docs/api_asynch/.

  • External id name: the name of the external ID
    field in the lookup module specified in the Module

tStatCatcher Statistics

Select this check box to gather the Job processing metadata at the Job level
as well as at each component level.

Global Variables


The number of rows processed. This is an After variable and it returns an integer.


The error message generated by the component when an error occurs. This is an After
variable and it returns a string.


Usage rule

This component is more commonly used with the tSalesforceBulkExec component. Used together,
they gain performance while feeding or modifying information in

Related scenario

No scenario is available for this component yet.

Document get from Talend https://help.talend.com
Thank you for watching.
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x