Configurations


Config

The Salesforce Connector will allow to connect to the Salesforce application using regular username and password via the SOAP API. Almost every operation that can be done via the Salesforce's API can be done thru this connector. This connector will also work if your Salesforce objects are customized with additional fields or even you are working with custom objects. Integrating with Salesforce consists of web service calls utilizing XML request/response setup over an HTTPS connection. The technical details of this connection such as request headers, error handling, HTTPS connection, etc. are all abstracted from the user to make implementation quick and easy.

Parameters

Name Type Description Default Value Required

Name

String

The name of this configuration. With this name can be later referenced.

x 

Connection

The connection types that can be provided to this configuration.

x 

Connection Types

Username Password

Salesforce connector configuration that uses basic authentication for establishing connection with Salesforce system.

Parameters
Name Type Description Default Value Required

Client Id

String

Client ID for partners

 

Assignment Rule Id

String

The ID of a specific assignment rule to run for the Case or Lead. The assignment rule is either set to active or inactive. The ID can be retrieved by querying the AssignmentRule object. If specified, do not specify useDefaultRule. This element is ignored for accounts, because all territory assignment rules are applied.

If the value is not in correct ID format (15-character or 18-character Salesforce ID), the call fails and a MALFORMED_ID exception is returned. Default value is false.

 

Use Default Rule

Boolean

If true, the default (active) assignment rule for a Case or Lead is used. If specified, do not specify an assignmentRuleId. If true for an Account, all territory assignment rules are applied, and if false, no territory assignment rules are applied. Default value is false.

false

 

Allow Field Truncation Support

Boolean

If true, truncates field values that are too long, which is the behavior in API versions 14.0 and earlier.

Default is false: no change in behavior. If a string or text area value is too large, the operation fails and the fault code STRING_TOO_LONG is returned.

false

 

Batch Sobject Max Depth

Number

Creating a batch will create SObjects using this value for the MAX_DEPTH check.

5

 

Time Object Store

An ObjectStore instance to use in SalesforceConnector#getUpdatedObjects

 

Username

String

Username used to initialize the session

x 

Password

String

Password used to authenticate the user

x 

Security Token

String

User's security token. It can be omitted if your IP has been whitelisted on Salesforce

 

Host

String

Hostname of the proxy. If this property is not set then no proxy will be used, otherwise a proxy will be used, but a proxy host must be specified.

 

Port

Number

Port of the proxy. If host is set then this property must be set and cannot be a negative number.

 

Username

String

Username used to authenticate against the proxy. If this property is not set then no authentication is going to be used against the proxy, otherwise this value must be specified.

 

Password

String

Password used to authenticate against the proxy.

 

Read Timeout

Number

Specifies the amount of time, in milliseconds, that the consumer will wait for a response before it times out. Default value is 0, which means infinite.

0

 

Connection Timeout

Number

Specifies the amount of time, in milliseconds, that the consumer will attempt to establish a connection before it times out. Default value is 0, which means infinite.

0

 

Token Endpoint

String

URL pointing to the server responsible for providing the authentication token. According to Salesforce it should be https://login.salesforce.com/services/oauth2/token, or, if implementing for a community, https://acme.force.com/customers/services/oauth2/token (where acme.force.com/customers is your community URL).

https://login.salesforce.com/services/oauth2/token

 

Disable session invalidation

Boolean

If true then the session will NOT be invalidated when the connection pool deems the connection is no longer needed. This could be useful when you use the same username from more applications and get the same session from Salesforce. Default value is false.

false

 

Authorization URL

String

Web service URL responsible for user authentication. This is the URL for the endpoint that is configured to handle SOAP authentication requests.

https://login.salesforce.com/services/Soap/u/36.0

 

Reconnection Strategy

A retry strategy in case of connectivity errors

 

Fetch All Apex SOAP Metadata

Boolean

If checked then Datasense is performed for all Apex classes in the organization, otherwise it is performed only for the classes in Apex class names. If the organization contains a lot of Apex classes this might cause ConnectionTimeout during Datasense. Default value is false.

false

 

Fetch All Apex REST Metadata

Boolean

If checked then Datasense will be performed for all Apex classes in the organization else Datasense will be performed only for the classes in Apex class names. If the organization contains many Apex classes this could cause ConnectionTimeout during Datasense. Default value is false.

false

 

Apex Class Names

Array of String

List of Apex class names involved in metadata retrieval via Datasense.

 

Session Id

String

This value may be used to specify and identify an active Salesforce session

 

Service Endpoint

String

Specifies the service endpoint. This value will only be used if the sessionId configuration property is used.

 

OAuth SAML

Salesforce configuration object that uses OAuth 2.0 JWT bearer in order to establish connection with Salesforce system.

Parameters
Name Type Description Default Value Required

Client Id

String

Client ID for partners

 

Assignment Rule Id

String

The ID of a specific assignment rule to run for the Case or Lead. The assignment rule is either set to active or inactive. The ID can be retrieved by querying the AssignmentRule object. If specified, do not specify useDefaultRule. This element is ignored for accounts, because all territory assignment rules are applied.

If the value is not in correct ID format (15-character or 18-character Salesforce ID), the call fails and a MALFORMED_ID exception is returned. Default value is false.

 

Use Default Rule

Boolean

If true, the default (active) assignment rule for a Case or Lead is used. If specified, do not specify an assignmentRuleId. If true for an Account, all territory assignment rules are applied, and if false, no territory assignment rules are applied. Default value is false.

false

 

Allow Field Truncation Support

Boolean

If true, truncates field values that are too long, which is the behavior in API versions 14.0 and earlier.

Default is false: no change in behavior. If a string or text area value is too large, the operation fails and the fault code STRING_TOO_LONG is returned.

false

 

Batch Sobject Max Depth

Number

Creating a batch will create SObjects using this value for the MAX_DEPTH check.

5

 

Time Object Store

An ObjectStore instance to use in SalesforceConnector#getUpdatedObjects

 

Api Version

Number

Salesforce API version. The default value is the latest version supported by the connector.

38.0

 

Consumer Key

String

Consumer key for Salesforce connected app

x 

Principal

String

Username of desired Salesforce user to take action on behalf of.

x 

Key Store

String

Path to key store used to sign data during authentication

x 

Store Password

String

Password of key store

x 

Host

String

Hostname of the proxy. If this property is not set then no proxy will be used, otherwise a proxy will be used, but a proxy host must be specified.

 

Port

Number

Port of the proxy. If host is set then this property must be set and cannot be a negative number.

 

Username

String

Username used to authenticate against the proxy. If this property is not set then no authentication is going to be used against the proxy, otherwise this value must be specified.

 

Password

String

Password used to authenticate against the proxy.

 

Read Timeout

Number

Specifies the amount of time, in milliseconds, that the consumer will wait for a response before it times out. Default value is 0, which means infinite.

0

 

Connection Timeout

Number

Specifies the amount of time, in milliseconds, that the consumer will attempt to establish a connection before it times out. Default value is 0, which means infinite.

0

 

Token Endpoint

String

URL pointing to the server responsible for providing the authentication token. According to Salesforce it should be https://login.salesforce.com/services/oauth2/token, or, if implementing for a community, https://acme.force.com/customers/services/oauth2/token (where acme.force.com/customers is your community URL).

https://login.salesforce.com/services/oauth2/token

 

Disable session invalidation

Boolean

If true then the session will NOT be invalidated when the connection pool deems the connection is no longer needed. This could be useful when you use the same username from more applications and get the same session from Salesforce. Default value is false.

false

 

Authorization URL

String

Web service URL responsible for user authentication. This is the URL for the endpoint that is configured to handle SOAP authentication requests.

https://login.salesforce.com/services/Soap/u/36.0

 

Reconnection Strategy

A retry strategy in case of connectivity errors

 

Fetch All Apex SOAP Metadata

Boolean

If checked then Datasense is performed for all Apex classes in the organization, otherwise it is performed only for the classes in Apex class names. If the organization contains a lot of Apex classes this might cause ConnectionTimeout during Datasense. Default value is false.

false

 

Fetch All Apex REST Metadata

Boolean

If checked then Datasense will be performed for all Apex classes in the organization else Datasense will be performed only for the classes in Apex class names. If the organization contains many Apex classes this could cause ConnectionTimeout during Datasense. Default value is false.

false

 

Apex Class Names

Array of String

List of Apex class names involved in metadata retrieval via Datasense.

 

OAuth JWT

Salesforce configuration object that uses OAuth 2.0 JWT bearer in order to establish a connection with the Salesforce system.

Parameters
Name Type Description Default Value Required

Client Id

String

Client ID for partners

 

Assignment Rule Id

String

The ID of a specific assignment rule to run for the Case or Lead. The assignment rule is either set to active or inactive. The ID can be retrieved by querying the AssignmentRule object. If specified, do not specify useDefaultRule. This element is ignored for accounts, because all territory assignment rules are applied.

If the value is not in correct ID format (15-character or 18-character Salesforce ID), the call fails and a MALFORMED_ID exception is returned. Default value is false.

 

Use Default Rule

Boolean

If true, the default (active) assignment rule for a Case or Lead is used. If specified, do not specify an assignmentRuleId. If true for an Account, all territory assignment rules are applied, and if false, no territory assignment rules are applied. Default value is false.

false

 

Allow Field Truncation Support

Boolean

If true, truncates field values that are too long, which is the behavior in API versions 14.0 and earlier.

Default is false: no change in behavior. If a string or text area value is too large, the operation fails and the fault code STRING_TOO_LONG is returned.

false

 

Batch Sobject Max Depth

Number

Creating a batch will create SObjects using this value for the MAX_DEPTH check.

5

 

Time Object Store

An ObjectStore instance to use in SalesforceConnector#getUpdatedObjects

 

Api Version

Number

Salesforce API version. The default value is the latest version supported by the connector.

38.0

 

Consumer Key

String

Consumer key for Salesforce connected app

x 

Key Store

String

Path to key store used to sign data during authentication

x 

Store Password

String

Password of key store

x 

Principal

String

Username of desired Salesforce user to take action on behalf of.

x 

Host

String

Hostname of the proxy. If this property is not set then no proxy will be used, otherwise a proxy will be used, but a proxy host must be specified.

 

Port

Number

Port of the proxy. If host is set then this property must be set and cannot be a negative number.

 

Username

String

Username used to authenticate against the proxy. If this property is not set then no authentication is going to be used against the proxy, otherwise this value must be specified.

 

Password

String

Password used to authenticate against the proxy.

 

Read Timeout

Number

Specifies the amount of time, in milliseconds, that the consumer will wait for a response before it times out. Default value is 0, which means infinite.

0

 

Connection Timeout

Number

Specifies the amount of time, in milliseconds, that the consumer will attempt to establish a connection before it times out. Default value is 0, which means infinite.

0

 

Token Endpoint

String

URL pointing to the server responsible for providing the authentication token. According to Salesforce it should be https://login.salesforce.com/services/oauth2/token, or, if implementing for a community, https://acme.force.com/customers/services/oauth2/token (where acme.force.com/customers is your community URL).

https://login.salesforce.com/services/oauth2/token

 

Disable session invalidation

Boolean

If true then the session will NOT be invalidated when the connection pool deems the connection is no longer needed. This could be useful when you use the same username from more applications and get the same session from Salesforce. Default value is false.

false

 

Authorization URL

String

Web service URL responsible for user authentication. This is the URL for the endpoint that is configured to handle SOAP authentication requests.

https://login.salesforce.com/services/Soap/u/36.0

 

Reconnection Strategy

A retry strategy in case of connectivity errors

 

Fetch All Apex SOAP Metadata

Boolean

If checked then Datasense is performed for all Apex classes in the organization, otherwise it is performed only for the classes in Apex class names. If the organization contains a lot of Apex classes this might cause ConnectionTimeout during Datasense. Default value is false.

false

 

Fetch All Apex REST Metadata

Boolean

If checked then Datasense will be performed for all Apex classes in the organization else Datasense will be performed only for the classes in Apex class names. If the organization contains many Apex classes this could cause ConnectionTimeout during Datasense. Default value is false.

false

 

Apex Class Names

Array of String

List of Apex class names involved in metadata retrieval via Datasense.

 

OAuth Username Password

Salesforce configuration object that uses OAuth 2.0 JWT bearer in order to establish a connection with the Salesforce system.

Parameters
Name Type Description Default Value Required

Client Id

String

Client ID for partners

 

Assignment Rule Id

String

The ID of a specific assignment rule to run for the Case or Lead. The assignment rule is either set to active or inactive. The ID can be retrieved by querying the AssignmentRule object. If specified, do not specify useDefaultRule. This element is ignored for accounts, because all territory assignment rules are applied.

If the value is not in correct ID format (15-character or 18-character Salesforce ID), the call fails and a MALFORMED_ID exception is returned. Default value is false.

 

Use Default Rule

Boolean

If true, the default (active) assignment rule for a Case or Lead is used. If specified, do not specify an assignmentRuleId. If true for an Account, all territory assignment rules are applied, and if false, no territory assignment rules are applied. Default value is false.

false

 

Allow Field Truncation Support

Boolean

If true, truncates field values that are too long, which is the behavior in API versions 14.0 and earlier.

Default is false: no change in behavior. If a string or text area value is too large, the operation fails and the fault code STRING_TOO_LONG is returned.

false

 

Batch Sobject Max Depth

Number

Creating a batch will create SObjects using this value for the MAX_DEPTH check.

5

 

Time Object Store

An ObjectStore instance to use in SalesforceConnector#getUpdatedObjects

 

Api Version

Number

Salesforce API version. The default value is the latest version supported by the connector.

38.0

 

Consumer Key

String

Consumer key for Salesforce connected app

x 

Consumer Secret

String

Your application's client secret (consumer secret in Remote Access Detail).

x 

Username

String

Username used to initialize the session

x 

Password

String

Password used to authenticate the user

x 

Security Token

String

User's security token. It can be omitted if your IP has been whitelisted on Salesforce

 

Host

String

Hostname of the proxy. If this property is not set then no proxy will be used, otherwise a proxy will be used, but a proxy host must be specified.

 

Port

Number

Port of the proxy. If host is set then this property must be set and cannot be a negative number.

 

Username

String

Username used to authenticate against the proxy. If this property is not set then no authentication is going to be used against the proxy, otherwise this value must be specified.

 

Password

String

Password used to authenticate against the proxy.

 

Read Timeout

Number

Specifies the amount of time, in milliseconds, that the consumer will wait for a response before it times out. Default value is 0, which means infinite.

0

 

Connection Timeout

Number

Specifies the amount of time, in milliseconds, that the consumer will attempt to establish a connection before it times out. Default value is 0, which means infinite.

0

 

Token Endpoint

String

URL pointing to the server responsible for providing the authentication token. According to Salesforce it should be https://login.salesforce.com/services/oauth2/token, or, if implementing for a community, https://acme.force.com/customers/services/oauth2/token (where acme.force.com/customers is your community URL).

https://login.salesforce.com/services/oauth2/token

 

Disable session invalidation

Boolean

If true then the session will NOT be invalidated when the connection pool deems the connection is no longer needed. This could be useful when you use the same username from more applications and get the same session from Salesforce. Default value is false.

false

 

Authorization URL

String

Web service URL responsible for user authentication. This is the URL for the endpoint that is configured to handle SOAP authentication requests.

https://login.salesforce.com/services/Soap/u/36.0

 

Reconnection Strategy

A retry strategy in case of connectivity errors

 

Fetch All Apex SOAP Metadata

Boolean

If checked then Datasense is performed for all Apex classes in the organization, otherwise it is performed only for the classes in Apex class names. If the organization contains a lot of Apex classes this might cause ConnectionTimeout during Datasense. Default value is false.

false

 

Fetch All Apex REST Metadata

Boolean

If checked then Datasense will be performed for all Apex classes in the organization else Datasense will be performed only for the classes in Apex class names. If the organization contains many Apex classes this could cause ConnectionTimeout during Datasense. Default value is false.

false

 

Apex Class Names

Array of String

List of Apex class names involved in metadata retrieval via Datasense.

 

Associated Sources

Operations

Abort Job

<salesforcen:abort-job>

Aborts an open Job given its ID. The Job ID identifying the Job to be aborted.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Job Id

String

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

For Configurations.

Batch Info

<salesforcen:batch-info>

Access latest { BatchInfo} of a submitted { BatchInfo}. Allows tracking of the execution status. The com.sforce.async.BatchInfo being monitored

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Batch To Retrieve

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

For Configurations.

Batch Info List

<salesforcen:batch-info-list>

Get information about all batches in a job. - id of the job that you want to reatrieve batch information for - in case that batchInfoList can not be run - in case that a problem with connection to server occurs

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Job Id

String

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

For Configurations.

Batch Result

<salesforcen:batch-result>

Access { com.sforce.async.BatchResult} of a submitted { BatchInfo}. The com.sforce.async.BatchInfo being monitored

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Batch To Retrieve

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

For Configurations.

Batch Result Stream

<salesforcen:batch-result-stream>

Access { com.sforce.async.BatchResult} of a submitted { BatchInfo}. The com.sforce.async.BatchInfo being monitored

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Batch To Retrieve

#[payload]

 

Headers

Object

 

Streaming Strategy

Configure if repeatable streams should be used and their behaviour

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

Binary

For Configurations.

Close Job

<salesforcen:close-job>

Closes an open Job given its ID. The Job ID identifying the Job to be closed.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Job Id

String

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

For Configurations.

Convert Lead

<salesforcen:convert-lead>

Converts a Lead into an Account, Contact, or (optionally) an Opportunity. Specifies whether to overwrite the LeadSource field on the target Contact object with the contents of the LeadSource field in the source Lead object (true), or not (false, the default). To set this field to true, the client application must specify a contactId for the target contact. Valid LeadStatus value for a converted lead. Required. To obtain the list of possible values, the client application queries the LeadStatus object, as in: Select Id, MasterLabel from LeadStatus where IsConverted=true Salesforce Headers More Info ID of the Account into which the lead will be merged. Required only when updating an existing account, including person accounts. If no accountID is specified, then the API creates a new account. To create a new account, the client application must be logged in with sufficient access rights. To merge a lead into an existing account, the client application must be logged in with read/write access to the specified account. The account name and other existing data are not overwritten. For information on IDs, see ID Field Type. ID of the Lead to convert. Required. For information on IDs, see ID Field Type. Specifies whether to create an Opportunity during lead conversion (false, the default) or not (true). Set this flag to true only if you do not want to create an opportunity from the lead. An opportunity is created by default. Name of the opportunity to create. If no name is specified, then this value defaults to the company name of the lead. The maximum length of this field is 80 characters. If doNotCreateOpportunity argument is true, then no Opportunity is created and this field must be left blank; otherwise, an error is returned. ID of the Contact into which the lead will be merged (this contact must be associated with the specified accountId, and an accountId must be specified). Required only when updating an existing contact.IMPORTANT if you are converting a lead into a person account, do not specify the contactId or an error will result. Specify only the accountId of the person account. If no contactID is specified, then the API creates a new contact that is implicitly associated with the Account. To create a new contact, the client application must be logged in with sufficient access rights. To merge a lead into an existing contact, the client application must be logged in with read/write access to the specified contact. The contact name and other existing data are not overwritten (unless overwriteLeadSource is set to true, in which case only the LeadSource field is overwritten). For information on IDs, see ID Field Type. Specifies whether to send a notification email to the owner specified in the ownerId (true) or not (false, the default).

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Lead Id

String

x 

Contact Id

String

 

Account Id

String

 

Over Write Lead Source

Boolean

false

 

Do Not Create Opportunity

Boolean

false

 

Opportunity Name

String

 

Converted Status

String

x 

Send Email To Owner

Boolean

false

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Headers

Object

 

Output

Type

For Configurations.

Create

<salesforcen:create>

Adds one or more new records to your organization's data.

IMPORTANT: When you map your objects to the input of this message processor keep in mind that they need to match the expected type of the object at Salesforce. Take the CloseDate of an Opportunity as an example, if you set that field to a string of value "2011-12-13" it will be sent to Salesforce as a string and operation will be rejected on the basis that CloseDate is not of the expected type. The proper way to actually map it is to generate a Java Date object, you can do so using Groovy expression evaluator as #[groovy:Date.parse("yyyy-MM-dd", "2011-12-13")].

Type of object to create Salesforce Headers More Info An array of one or more sObject objects.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

sObjects

Array of Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Headers

Object

 

Output

Type

Array of Save Result

For Configurations.

Create Batch

<salesforcen:create-batch>

Creates a Batch using the given objects within the specified Job. The Job can be of XML or CSV type. This call uses the Bulk API. The operation will be done in asynchronous fashion. The com.sforce.async.JobInfo in which the batch will be created. The Job can be of XML, JSON or CSV type. A list of one or more sObject objects. This parameter defaults to payload content.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Job Info

x 

Objects

Array of Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

For Configurations.

Create Batch For Query

<salesforcen:create-batch-for-query>

Creates a Batch using the given query. This call uses the Bulk API. The operation will be done in asynchronous fashion. The query to be executed. The com.sforce.async.JobInfo in which the batch will be created.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Job Info

#[payload]

 

Query

String

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

For Configurations.

Create Batch Stream

<salesforcen:create-batch-stream>

Creates a Batch using the given stream within the specified Job. The stream can have a CSV,XML, ZIP_CSV or ZIP_XML format. This call uses the Bulk API. The operation will be done in asynchronous fashion. The com.sforce.async.JobInfo in which the batch will be created. This parameter defaults to payload content. A stream containing the data. The stream can have a CSV,XML, ZIP_CSV or ZIP_XML format.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Job Info

#[payload]

 

Stream

Binary

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

For Configurations.

Create Bulk

<salesforcen:create-bulk>

Adds one or more new records to your organization's data. This call uses the Bulk API. The creation will be done in asynchronous fashion. Type of object to create An array of one or more sObject objects.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

sObjects

Array of Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Output

Type

For Configurations.

Create Job

<salesforcen:create-job>

Creates a Job in order to perform one or more batches through Bulk API Operations. The concurrency mode of the job, either Parallel or Serial. The type of Salesforce object that the job will process. The Content Type for this Job results. When specifying a content type different from XML for a query type use { #queryResultStream(com.sforce.async.BatchInfo)} batchResultStream} method to retrieve results. The com.sforce.async.OperationEnum that will be executed by the job. Contains the name of the field on this object with the external ID field attribute for custom objects or the idLookup field property for standard objects (only required for Upsert Operations).

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Operation

Enumeration, one of:

  • insert

  • upsert

  • update

  • delete

  • hardDelete

  • query

x 

Type

String

x 

External Id Field Name

String

 

Content Type

Enumeration, one of:

  • XML

  • CSV

  • JSON

  • ZIP_XML

  • ZIP_CSV

  • ZIP_JSON

 

Concurrency Mode

Enumeration, one of:

  • Parallel

  • Serial

 

Headers

Object

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

For Configurations.

Create Metadata

<salesforcen:create-metadata>

Create metadata: Adds one or more new metadata components to your organization The Metadata Type to be created a List of Map<String, Object> representing the metadatas to be created

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Type

String

x 

Metadata Objects

Array of Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

Array of Save Result

For Configurations.

Create Single

<salesforcen:create-single>

Adds one new record to your organization's data. Type of object to create Salesforce Headers More Info SObject to create

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

sObject

Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Headers

Object

 

Output

Type

For Configurations.

Delete

<salesforcen:delete>

Deletes one or more records from your organization's data. Salesforce Headers More Info Array of one or more IDs associated with the objects to delete.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Ids

Array of String

#[payload]

 

Headers

Object

 

Output

Type

Array of Delete Result

For Configurations.

Delete Metadata

<salesforcen:delete-metadata>

Deletes one or more metadata components from your organization, given the object(s) API Name(s) The metadata type of the components to delete Full names of the components to delete

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Type

String

x 

Full Names

Array of String

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

Array of Delete Result

For Configurations.

Deploy Metadata

<salesforcen:deploy-metadata>

Deploy. File-based call to deploy XML components. Use this call to take file representations of components and deploy them into an organization by creating, updating, or deleting the components they represent. Indicates whether any failure causes a complete rollback (true) or not (false). A stream containing the data. This parameter defaults to payload content. Indicates whether a warning should allow a deployment to complete successfully (true) or not (false). If true, the deleted components in the destructiveChanges.xml manifest file aren't stored in the Recycle Bin. This option only works in Developer Edition or sandbox organizations; it doesn't work in production organizations.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

File stream

Binary

x 

Ignore Warnings

Boolean

false

 

Purge On Delete

Boolean

false

 

Rollback On Error

Boolean

true

 

For Configurations.

Describe Global

<salesforcen:describe-global>

Retrieves a list of available objects for your organization's data. Salesforce Headers More Info

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Headers

Object

 

For Configurations.

Describe Metadata

<salesforcen:describe-metadata>

Describe metadata: This call retrieves the metadata which describes your organization. This information includes Apex classes and triggers, custom objects, custom fields on standard objects, tab sets that define an app, and many other components

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

For Configurations.

Describe Sobject

<salesforcen:describe-sobject>

Describes metadata (field list and object properties) for the specified object. Salesforce Headers More Info Object. The specified value must be a valid object for your organization. For a complete list of objects, {see Standard Objects}

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Headers

Object

 

For Configurations.

Empty Recycle Bin

<salesforcen:empty-recycle-bin>

The recycle bin lets you view and restore recently deleted records for 30 days before they are permanently deleted. Your organization can have up to 5000 records per license in the Recycle Bin at any one time. For example, if your organization has five user licenses, 25,000 records can be stored in the Recycle Bin. If your organization reaches its Recycle Bin limit, Salesforce.com automatically removes the oldest records, as long as they have been in the recycle bin for at least two hours. Salesforce Headers More Info Array of one or more IDs associated with the records to delete from the recycle bin. Maximum number of records is 200.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Ids

Array of String

#[payload]

 

Headers

Object

 

Output

Type

For Configurations.

Find Duplicates

<salesforcen:find-duplicates>

Performs rule-based searches for duplicate records. The input is an array of sObject, each of which specifies the values to search for and the type of object that supplies the duplicate rules. The output identifies the detected duplicates for each object that supplies the duplicate rules. findDuplicates() applies the rules to the values to do the search. The output identifies the detected duplicates for each sObject. - type of sobjects to find duplicates for - list of SObject used as a criterion when searching for duplicates Salesforce Headers More Info - in case that findDuplicate can not be run - in case that a problem with connection to server occurs

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Type

String

x 

Criteria

Array of Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Headers

Object

 

Output

Type

For Configurations.

Get Deleted

<salesforcen:get-deleted>

Retrieves the list of individual records that have been deleted since a time in the past specified in minutes before now. Salesforce Headers More Info Object type. The specified value must be a valid object for your organization. The amount of time, counted from now to some point in the past, for which to return records.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Duration

Number

x 

Headers

Object

 

Output

Type

For Configurations.

Get Deleted Range

<salesforcen:get-deleted-range>

Retrieves the list of individual records that have been deleted within the given time frame for the specified object. Starting date/time (Coordinated Universal Time (UTC) not local timezone) of the time frame to retrieve the data from. The API ignores the value for seconds in the specified dateTime value (for example, 12:30:15 is interpreted as 12:30:00 UTC). Salesforce Headers More Info Object type. The specified value must be a valid object for your organization. Ending date/time (Coordinated Universal Time (UTC) not local timezone) of the time frame to retrieve the data from. The API ignores the value for seconds in the specified dateTime value (for example, 12:35:15 is interpreted as 12:35:00 UTC). If the time is not specified, the current server time will be used.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Start Time Reference

DateTime

x 

End Time Reference

DateTime

x 

Headers

Object

 

Output

Type

For Configurations.

Get Server Timestamp

<salesforcen:get-server-timestamp>

Retrieves the current system timestamp (Coordinated Universal Time (UTC) time zone) from the API.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

DateTime

For Configurations.

Get Server Url

<salesforcen:get-server-url>

Retrieves the Partner Server Url of the Salesforce instance.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

String

For Configurations.

Get Session Id

<salesforcen:get-session-id>

Retrieves the Session Id of the current session. The session will be validated; if the session is invalid, reconnection will be triggered (if the strategy is enabled), and the new session id will be returned

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Validate Session Id

Boolean

false

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

String

For Configurations.

Get Updated

<salesforcen:get-updated>

Retrieves the list of individual records that have been updated within a time range, specified in minutes, counting from the current time to some point in the past. Salesforce Headers More Info Object type. The specified value must be a valid object for your organization. The amount of time in minutes, counted from now to some point in the past, to specify the range you want updated records from.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Duration

Number

x 

Headers

Object

 

Output

Type

For Configurations.

Get Updated Objects

<salesforcen:get-updated-objects>

Retrieves the list of records that have been updated between the last time this method was called and now. This method will save the timestamp of the latest date covered by Salesforce represented by GetUpdatedResult#latestDateCovered. IMPORTANT: In order to use this method in a reliable way user must ensure that right after this method returns the result is stored in a persistent way since the timestamp of the latest . In order to reset the latest update time use resetUpdatedObjectsTimestamp(String) Time window (in minutes) used to calculate the start time (in time range) the first time this operation is called. E.g: if initialTimeWindow equals 2, the start time will be the current time (now) minus 2 minutes, then the range to retrieve the updated object will be (now - 2 minutes; now). After first call the start time will be calculated from the object store getting the last time this operation was exec Salesforce Headers More Info The fields to retrieve for the updated objects Object type. The specified value must be a valid object for your organization.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Fields

Array of String

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Initial Time Window

Number

x 

Headers

Object

 

Output

Type

Array of Object

For Configurations.

Get Updated Range

<salesforcen:get-updated-range>

Retrieves the list of individual records that have been created/updated within the given time frame for the specified object. Ending date/time (Coordinated Universal Time (UTC) not local timezone) of the time frame for which to retrieve the data. The API ignores the value for seconds in the specified dateTime value (for example, 12:35:15 is interpreted as 12:35:00 UTC). If it is not provided, the current server time will be used. Salesforce Headers More Info Starting date/time (Coordinated Universal Time (UTC) not local timezone) of the time frame for which to retrieve the data. The API ignores the value for seconds in the specified dateTime value (for example, 12:30:15 is interpreted as 12:30:00 UTC). Object type. The specified value must be a valid object for your organization.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Start Time Reference

DateTime

x 

End Time Reference

DateTime

x 

Headers

Object

 

Output

Type

For Configurations.

Get User Info

<salesforcen:get-user-info>

Retrieves personal information for the user associated with the current session.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

For Configurations.

Hard Delete Bulk

<salesforcen:hard-delete-bulk>

Deletes one or more records from your organization's data. The deleted records are not stored in the Recycle Bin. Instead, they become immediately eligible for deletion. This call uses the Bulk API. The creation will be done in asynchronous fashion. An array of one or more sObject objects. Type of object to update

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

sObjects

Array of Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Output

Type

For Configurations.

Invoke Apex Rest Method

<salesforcen:invoke-apex-rest-method>

Invokes any operation from an Apex class that is exposed as REST web service The query parameters that will be added to the request URL A Map containing the URLParameters if necessary and the request body information (if the http method allows input) The reference to an ApexRequestHeaders object containing request headers and cookies The Apex class method name that will be invoked using REST

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Apex Class Method Name

String

x 

Request Body

Any

#[payload]

 

Request Headers Reference

 

Query Parameters

Object

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

Object

For Configurations.

Invoke Apex Soap Method

<salesforcen:invoke-apex-soap-method>

Invokes any operation from an Apex class that is exposed as SOAP web service the Apex class method name that will be invoked using SOAP XML containing information about the method to be invoked and its parameters. The XML must adhere to the WSDL standards.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Apex Class Method Name

String

x 

Input

Any

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

Any

For Configurations.

Job Info

<salesforcen:job-info>

Access latest { JobInfo} of a submitted { JobInfo}. Allows to track execution status. the Job ID of the Job being monitored

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Job Id

String

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

For Configurations.

List Metadata

<salesforcen:list-metadata>

Retrieves property information about metadata components in your organization The metadata type used as criteria when querying for information

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Type

String

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

Array of File Properties

For Configurations.

Merge

<salesforcen:merge>

Merge up to three records into one. A list of ids of the objects to be merged Salesforce Headers More Info Type of object to merge The Master object used for the merge

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Records To Merge Ids

Array of String

 

sObject

Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Headers

Object

 

Output

Type

For Configurations.

Non Paginated Query

<salesforcen:non-paginated-query>

Executes a query against the specified object and returns data that matches the specified criteria. Query string that specifies the object to query, the fields to return, and any conditions for including a specific object in the query. For more information, see Salesforce Object Query Language (SOQL). Salesforce Headers More Info { com.sforce.ws.ConnectionException} when there is an error related to connection { org.mule.modules.salesforce.exception.SalesforceException} when there is an error query()

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Query

String

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Headers

Object

 

Output

Type

Array of Object

For Configurations.

Publish Streaming Channel

<salesforcen:publish-streaming-channel>

Creates a streaming channel on which generic, custom messages can be pushed. Descriptive name of the StreamingChannel. Limit: 80 characters, must start with "/u/". This value identifies the channel and must be unique. Identifier fir the channel owner. Description of what kinds of records are returned by the query. Limit: 255 characters When there is a connection error Streaming Channel

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Channel Name

String

x 

Owner Id

String

 

Description

String

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

Array of Save Result

For Configurations.

Publish Topic

<salesforcen:publish-topic>

Creates a topic representing a query, which is used to notify listeners when changes are made to records in an organization. Descriptive name of the push topic, such as MyNewCases or TeamUpdatedContacts. The maximum length is 25 characters. This value identifies the channel. The SOQL query statement that determines which records' changes trigger events to be sent to the channel. Maximum length: 1200 characters Description of what kinds of records are returned by the query. Limit: 400 characters

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Topic Name

String

x 

Query

String

x 

Description

String

 

For Configurations.

Push Generic Event

<salesforcen:push-generic-event>

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Events

x 

Channel Id

String

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

For Configurations.

Query

<salesforcen:query>

Executes a query against the specified object and returns data that matches the specified criteria. The returned fields are String and, if necessary, you can convert them to the apropiate type using for example Weave and Transform Message Query string that specifies the object to query, the fields to return, and any conditions for including a specific object in the query. For more information, see Salesforce Object Query Language (SOQL). Salesforce Headers More Info

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Query To Execute

String

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Headers

Object

 

Output

Type

Object

For Configurations.

Query All

<salesforcen:query-all>

Retrieves data from specified objects, whether or not they have been deleted. Query string that specifies the object to query, the fields to return, and any conditions for including a specific object in the query. For more information, see Salesforce Object Query Language (SOQL). Salesforce Headers More Info

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Query To Execute

String

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Headers

Object

 

Output

Type

Object

For Configurations.

Query Result Stream

<salesforcen:query-result-stream>

Returns an { InputStream} with the query results of a submitted { BatchInfo} Internally the InputStreams contained in the sequence will be requested on-demand (lazy-loading). They should be used only with query jobs. The com.sforce.async.BatchInfo being monitored

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Batch To Retrieve

#[payload]

 

Headers

Object

 

Streaming Strategy

Configure if repeatable streams should be used and their behaviour

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

Binary

For Configurations.

Query Single

<salesforcen:query-single>

Executes a query against the specified object and returns the first record that matches the specified criteria. Query string that specifies the object to query, the fields to return, and any conditions for including a specific object in the query. For more information, see Salesforce Object Query Language (SOQL). Salesforce Headers More Info { com.sforce.ws.ConnectionException} when there is an error related to connection { org.mule.modules.salesforce.exception.SalesforceException} when there is an error query()

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Query To Execute

String

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Headers

Object

 

Output

Type

Object

For Configurations.

Read Metadata

<salesforcen:read-metadata>

Returns one or more metadata components from your organization, given the object(s) API Name(s) The metadata type of the components to read List of full names of the components to read

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Type

String

x 

Full Names

Array of String

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

Array of Object

For Configurations.

Rename Metadata

<salesforcen:rename-metadata>

Renames a Metadata component in your organization, given its old API Name and the new name The new component full name The metadata type of the components to rename The current component full name

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Type

String

x 

Old Full Name

String

x 

New Full Name

String

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

For Configurations.

Reset Password

<salesforcen:reset-password>

Resets the password of the user linked to the connector's configuration.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

For Configurations.

Reset Updated Objects Timestamp

<salesforcen:reset-updated-objects-timestamp>

Resets the timestamp of the last updated object. After resetting this, a call to getUpdatedObjects will use the initialTimeWindow to get the updated objects. If no timeObjectStore has been explicitly specified and getUpdatedObjects has not been called then calling this method has no effect. The object type for which the timestamp should be reset.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

sObject Type

String

x 

For Configurations.

Retrieve

<salesforcen:retrieve>

Retrieves one or more records based on the specified IDs. Salesforce Headers More Info Object type. The specified value must be a valid object for your organization. The fields to return for the matching objects The ids of the objects to retrieve

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Ids

Array of String

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Fields

Array of String

x 

Headers

Object

 

Output

Type

Array of Object

For Configurations.

Retrieve Metadata

<salesforcen:retrieve-metadata>

Retrieve. This call retrieves XML file representations of components in an organization. A list of file names to be retrieved. If a value is specified for this property, packageNames must be set to null. A list of package names to be retrieved. If you are retrieving only unpackaged components, do not specify a name. You can retrieve packaged and unpackaged components in the same retrieval operation. A stream containing a list of components to retrieve that are not in a package.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Package Names

Array of String

 

Specific Files

Array of String

 

Unpackaged

Binary

 

Streaming Strategy

Configure if repeatable streams should be used and their behaviour

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

Binary

For Configurations.

<salesforcen:search>

Search for objects using Salesforce Object Search Language. Mimics using the search box inside the Salesforce UI. Query string that specifies the object to query, the fields to return, and any conditions for including a specific object in the query. For more information, see Salesforce Object Search Language (SOSL). Salesforce Headers More Info

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Query

String

x 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Headers

Object

 

Output

Type

Array of Object

For Configurations.

Set Password

<salesforcen:set-password>

Change the password of a User or SelfServiceUser to a value that you specify. The new password for the user. Salesforce Headers More Info The user to set the password for.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

User ID

String

x 

Password

String

x 

Headers

Object

 

For Configurations.

Update

<salesforcen:update>

Updates one or more existing records in your organization's data. Salesforce Headers More Info An array of one or more sObject objects. Type of object to update

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

sObjects

Array of Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Headers

Object

 

Output

Type

Array of Save Result

For Configurations.

Update Bulk

<salesforcen:update-bulk>

Updates one or more existing records in your organization's data. This call uses the Bulk API. The creation will be done in asynchronous fashion. An array of one or more sObject objects. Type of object to update

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

sObjects

Array of Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Output

Type

For Configurations.

Update Metadata

<salesforcen:update-metadata>

Updates one or more metadata components in your organization. a List of Map<String, Object> representing the metadata to be updated The metadata type of the components updated

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Type

String

x 

Metadata Objects

Array of Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

Array of Save Result

For Configurations.

Update Single

<salesforcen:update-single>

Updates one record in your organization's data. Salesforce Headers More Info The object to be updated. Type of object to update

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

sObject

Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

Headers

Object

 

Output

Type

For Configurations.

Upsert

<salesforcen:upsert>

Upserts a homogeneous list of objects: creates new records and updates existing records, using a custom field to determine the presence of existing records. In most cases, prefer { #upsert(String, String, List, Map)} over { #create(String, List, Map)}, to avoid creating unwanted duplicate records. Contains the name of the field on this object with the external ID field attribute for custom objects or the idLookup field property for standard objects. The type of the given objects. The list of objects to upsert must be homogeneous. Salesforce Headers More Info The objects to upsert.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

sObjects

Array of Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

External Id Field Name

String

x 

Headers

Object

 

Output

Type

Array of Upsert Result

For Configurations.

Upsert Bulk

<salesforcen:upsert-bulk>

Upserts a homogeneous list of objects: creates new records and updates existing records, using a custom field to determine the presence of existing records. In most cases, prefer { #upsert(String, String, List, Map)} over { #create(String, List, Map)}, to avoid creating unwanted duplicate records. This call uses the Bulk API. The creation will be done in asynchronous fashion. The objects to upsert Contains the name of the field on this object with the external ID field attribute for custom objects or the idLookup field property for standard objects. The type of the given objects. The list of objects to upsert must be homogeneous.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

sObjects

Array of Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

sObject Type

String

x 

External Id Field Name

String

x 

Output

Type

For Configurations.

Upsert Metadata

<salesforcen:upsert-metadata>

Creates or updates one or more metadata components in your organization The metadata type of the components to create/update A List of Map<String, Object> representing the metadatas to be upserted

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Type

String

x 

Metadata Objects

Array of Object

#[payload]

 

Target Variable

String

The name of a variable on which the operation's output will be placed

 

Output

Type

Array of Upsert Result

For Configurations.

Sources

Subscribe Topic Source

<salesforcen:subscribe-topic-source>

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x 

Topic

String

x 

Type

String

x 

Redelivery Policy

Defines a policy for processing the redelivery of the same message

 

Reconnection Strategy

A retry strategy in case of connectivity errors

 

Output

Type

Any

Attributes Type

For Configurations.

Types

Reconnect

Field Type

Frequency

Number

Count

Number

Blocking

Boolean

Reconnect Forever

Field Type

Frequency

Number

Redelivery Policy

Field Type

Max Redelivery Count

Number

Use Secure Hash

Boolean

Message Digest Algorithm

String

Id Expression

String

Object Store Ref

String

Job Info

Field Type

Apex Processing Time

Number

Api Active Processing Time

Number

Api Version

Number

Assignment Rule Id

String

Concurrency Mode

Enumeration, one of:

  • Parallel

  • Serial

Content Type

Enumeration, one of:

  • XML

  • CSV

  • JSON

  • ZIP_XML

  • ZIP_CSV

  • ZIP_JSON

Created By Id

String

Created Date

DateTime

External Id Field Name

String

Fast Path Enabled

Boolean

Id

String

Number Batches Completed

Number

Number Batches Failed

Number

Number Batches In Progress

Number

Number Batches Queued

Number

Number Batches Total

Number

Number Records Failed

Number

Number Records Processed

Number

Number Retries

Number

Object

String

Operation

Enumeration, one of:

  • insert

  • upsert

  • update

  • delete

  • hardDelete

  • query

State

Enumeration, one of:

  • Open

  • Closed

  • Aborted

  • Failed

System Modstamp

DateTime

Total Processing Time

Number

Batch Info

Field Type

Apex Processing Time

Number

Api Active Processing Time

Number

Created Date

DateTime

Id

String

Job Id

String

Number Records Failed

Number

Number Records Processed

Number

State

Enumeration, one of:

  • Queued

  • InProgress

  • Completed

  • Failed

  • NotProcessed

State Message

String

System Modstamp

DateTime

Total Processing Time

Number

Batch Info List

Field Type

Batch Info

Array of Batch Info

Batch Result

Field Type

Partial Result

Boolean

Result

Array of Result

Result

Field Type

Created

Boolean

Errors

Array of Error

Id

String

Success

Boolean

Error

Field Type

Fields

Array of String

Message

String

Status Code

Enumeration, one of:

  • ALL_OR_NONE_OPERATION_ROLLED_BACK

  • ALREADY_IN_PROCESS

  • ASSIGNEE_TYPE_REQUIRED

  • BAD_CUSTOM_ENTITY_PARENT_DOMAIN

  • BCC_NOT_ALLOWED_IF_BCC_COMPLIANCE_ENABLED

  • CANNOT_CASCADE_PRODUCT_ACTIVE

  • CANNOT_CHANGE_FIELD_TYPE_OF_APEX_REFERENCED_FIELD

  • CANNOT_CREATE_ANOTHER_MANAGED_PACKAGE

  • CANNOT_DEACTIVATE_DIVISION

  • CANNOT_DELETE_LAST_DATED_CONVERSION_RATE

  • CANNOT_DELETE_MANAGED_OBJECT

  • CANNOT_DISABLE_LAST_ADMIN

  • CANNOT_ENABLE_IP_RESTRICT_REQUESTS

  • CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY

  • CANNOT_MODIFY_MANAGED_OBJECT

  • CANNOT_RENAME_APEX_REFERENCED_FIELD

  • CANNOT_RENAME_APEX_REFERENCED_OBJECT

  • CANNOT_REPARENT_RECORD

  • CANNOT_UPDATE_CONVERTED_LEAD

  • CANT_DISABLE_CORP_CURRENCY

  • CANT_UNSET_CORP_CURRENCY

  • CHILD_SHARE_FAILS_PARENT

  • CIRCULAR_DEPENDENCY

  • CUSTOM_CLOB_FIELD_LIMIT_EXCEEDED

  • CUSTOM_ENTITY_OR_FIELD_LIMIT

  • CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED

  • CUSTOM_INDEX_EXISTS

  • CUSTOM_LINK_LIMIT_EXCEEDED

  • CUSTOM_TAB_LIMIT_EXCEEDED

  • DELETE_FAILED

  • DELETE_REQUIRED_ON_CASCADE

  • DEPENDENCY_EXISTS

  • DUPLICATE_CASE_SOLUTION

  • DUPLICATE_COMM_NICKNAME

  • DUPLICATE_CUSTOM_ENTITY_DEFINITION

  • DUPLICATE_CUSTOM_TAB_MOTIF

  • DUPLICATE_DEVELOPER_NAME

  • DUPLICATE_EXTERNAL_ID

  • DUPLICATE_MASTER_LABEL

  • DUPLICATE_USERNAME

  • DUPLICATE_VALUE

  • EMAIL_NOT_PROCESSED_DUE_TO_PRIOR_ERROR

  • EMPTY_SCONTROL_FILE_NAME

  • ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE

  • ENTITY_IS_ARCHIVED

  • ENTITY_IS_DELETED

  • ENTITY_IS_LOCKED

  • ERROR_IN_MAILER

  • FAILED_ACTIVATION

  • FIELD_CUSTOM_VALIDATION_EXCEPTION

  • FIELD_INTEGRITY_EXCEPTION

  • HTML_FILE_UPLOAD_NOT_ALLOWED

  • IMAGE_TOO_LARGE

  • INACTIVE_OWNER_OR_USER

  • INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY

  • INSUFFICIENT_ACCESS_OR_READONLY

  • INVALID_ACCESS_LEVEL

  • INVALID_ARGUMENT_TYPE

  • INVALID_ASSIGNEE_TYPE

  • INVALID_ASSIGNMENT_RULE

  • INVALID_BATCH_OPERATION

  • INVALID_CREDIT_CARD_INFO

  • INVALID_CROSS_REFERENCE_KEY

  • INVALID_CROSS_REFERENCE_TYPE_FOR_FIELD

  • INVALID_CURRENCY_CONV_RATE

  • INVALID_CURRENCY_CORP_RATE

  • INVALID_CURRENCY_ISO

  • INVALID_EMAIL_ADDRESS

  • INVALID_EMPTY_KEY_OWNER

  • INVALID_FIELD

  • INVALID_FIELD_FOR_INSERT_UPDATE

  • INVALID_FIELD_WHEN_USING_TEMPLATE

  • INVALID_FILTER_ACTION

  • INVALID_GOOGLE_DOCS_URL

  • INVALID_ID_FIELD

  • INVALID_INET_ADDRESS

  • INVALID_LINEITEM_CLONE_STATE

  • INVALID_MASTER_OR_TRANSLATED_SOLUTION

  • INVALID_OPERATION

  • INVALID_OPERATOR

  • INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST

  • INVALID_PARTNER_NETWORK_STATUS

  • INVALID_PERSON_ACCOUNT_OPERATION

  • INVALID_SAVE_AS_ACTIVITY_FLAG

  • INVALID_SESSION_ID

  • INVALID_SETUP_OWNER

  • INVALID_SIGNUP_COUNTRY

  • INVALID_OAUTH_URL

  • INVALID_STATUS

  • INVALID_TYPE

  • INVALID_TYPE_FOR_OPERATION

  • INVALID_TYPE_ON_FIELD_IN_RECORD

  • IP_RANGE_LIMIT_EXCEEDED

  • LICENSE_LIMIT_EXCEEDED

  • LIMIT_EXCEEDED

  • MALFORMED_ID

  • MANAGER_NOT_DEFINED

  • MASSMAIL_RETRY_LIMIT_EXCEEDED

  • MASS_MAIL_LIMIT_EXCEEDED

  • MAXIMUM_CCEMAILS_EXCEEDED

  • MAXIMUM_DASHBOARD_COMPONENTS_EXCEEDED

  • MAXIMUM_HIERARCHY_LEVELS_REACHED

  • MAXIMUM_SIZE_OF_ATTACHMENT

  • MAXIMUM_SIZE_OF_DOCUMENT

  • MAX_ACTIONS_PER_RULE_EXCEEDED

  • MAX_ACTIVE_RULES_EXCEEDED

  • MAX_APPROVAL_STEPS_EXCEEDED

  • MAX_FORMULAS_PER_RULE_EXCEEDED

  • MAX_RULES_EXCEEDED

  • MAX_RULE_ENTRIES_EXCEEDED

  • MAX_TASK_DESCRIPTION_EXCEEEDED

  • MAX_TM_RULES_EXCEEDED

  • MAX_TM_RULE_ITEMS_EXCEEDED

  • MERGE_FAILED

  • MISSING_ARGUMENT

  • MIXED_DML_OPERATION

  • NONUNIQUE_SHIPPING_ADDRESS

  • NO_APPLICABLE_PROCESS

  • NO_ATTACHMENT_PERMISSION

  • NO_MASS_MAIL_PERMISSION

  • NUMBER_OUTSIDE_VALID_RANGE

  • NUM_HISTORY_FIELDS_BY_SOBJECT_EXCEEDED

  • OPTED_OUT_OF_MASS_MAIL

  • PACKAGE_LICENSE_REQUIRED

  • PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT

  • PRIVATE_CONTACT_ON_ASSET

  • RECORD_IN_USE_BY_WORKFLOW

  • REQUEST_RUNNING_TOO_LONG

  • REQUIRED_FIELD_MISSING

  • SELF_REFERENCE_FROM_TRIGGER

  • SHARE_NEEDED_FOR_CHILD_OWNER

  • STANDARD_PRICE_NOT_DEFINED

  • STORAGE_LIMIT_EXCEEDED

  • STRING_TOO_LONG

  • TABSET_LIMIT_EXCEEDED

  • TEMPLATE_NOT_ACTIVE

  • TERRITORY_REALIGN_IN_PROGRESS

  • TEXT_DATA_OUTSIDE_SUPPORTED_CHARSET

  • TOO_MANY_APEX_REQUESTS

  • TOO_MANY_ENUM_VALUE

  • TRANSFER_REQUIRES_READ

  • UNABLE_TO_LOCK_ROW

  • UNAVAILABLE_RECORDTYPE_EXCEPTION

  • UNDELETE_FAILED

  • UNKNOWN_EXCEPTION

  • UNSPECIFIED_EMAIL_ADDRESS

  • UNSUPPORTED_APEX_TRIGGER_OPERATON

  • WEBLINK_SIZE_LIMIT_EXCEEDED

  • WEBLINK_URL_INVALID

  • WRONG_CONTROLLER_TYPE

Repeatable In Memory Stream

Field Type

Initial Buffer Size

Number

Buffer Size Increment

Number

Max In Memory Size

Number

Buffer Unit

Enumeration, one of:

  • BYTE

  • KB

  • MB

  • GB

Repeatable File Store Stream

Field Type

Max In Memory Size

Number

Buffer Unit

Enumeration, one of:

  • BYTE

  • KB

  • MB

  • GB

Lead Convert Result

Field Type

Account Id

String

Contact Id

String

Errors

Array of Error

Lead Id

String

Opportunity Id

String

Success

Boolean

Save Result

Field Type

Errors

Array of Error

Id

String

Success

Boolean

Delete Result

Field Type

Errors

Array of Error

Id

String

Success

Boolean

Describe Global Result

Field Type

Encoding

String

Max Batch Size

Number

Sobjects

Describe Global S Object Result

Field Type

Activateable

Boolean

Createable

Boolean

Custom

Boolean

Custom Setting

Boolean

Deletable

Boolean

Deprecated And Hidden

Boolean

Feed Enabled

Boolean

Has Subtypes

Boolean

Id Enabled

Boolean

Key Prefix

String

Label

String

Label Plural

String

Layoutable

Boolean

Mergeable

Boolean

Mru Enabled

Boolean

Name

String

Queryable

Boolean

Replicateable

Boolean

Retrieveable

Boolean

Searchable

Boolean

Triggerable

Boolean

Undeletable

Boolean

Updateable

Boolean

Describe Metadata Result

Field Type

Metadata Objects

Organization Namespace

String

Partial Save Allowed

Boolean

Test Required

Boolean

Describe Metadata Object

Field Type

Child Xml Names

Array of String

Directory Name

String

In Folder

Boolean

Meta File

Boolean

Suffix

String

Xml Name

String

Describe S Object Result

Field Type

Action Overrides

Array of Action Override

Activateable

Boolean

Child Relationships

Compact Layoutable

Boolean

Createable

Boolean

Custom

Boolean

Custom Setting

Boolean

Deletable

Boolean

Deprecated And Hidden

Boolean

Feed Enabled

Boolean

Fields

Array of Field

Has Subtypes

Boolean

Id Enabled

Boolean

Key Prefix

String

Label

String

Label Plural

String

Layoutable

Boolean

Listviewable

Boolean

Lookup Layoutable

Boolean

Mergeable

Boolean

Mru Enabled

Boolean

Name

String

Named Layout Infos

Network Scope Field Name

String

Queryable

Boolean

Record Type Infos

Array of Record Type Info

Replicateable

Boolean

Retrieveable

Boolean

Search Layoutable

Boolean

Searchable

Boolean

Supported Scopes

Array of Scope Info

Triggerable

Boolean

Undeletable

Boolean

Updateable

Boolean

Url Detail

String

Url Edit

String

Url New

String

Action Override

Field Type

Form Factor

String

Is Available In Touch

Boolean

Name

String

Page Id

String

Url

String

Child Relationship

Field Type

Cascade Delete

Boolean

Child S Object

String

Deprecated And Hidden

Boolean

Field

String

Junction Id List Names

Array of String

Junction Reference To

Array of String

Relationship Name

String

Restricted Delete

Boolean

Field

Field Type

Aggregatable

Boolean

Auto Number

Boolean

Byte Length

Number

Calculated

Boolean

Calculated Formula

String

Cascade Delete

Boolean

Case Sensitive

Boolean

Compound Field Name

String

Controller Name

String

Createable

Boolean

Custom

Boolean

Default Value

Any

Default Value Formula

String

Defaulted On Create

Boolean

Dependent Picklist

Boolean

Deprecated And Hidden

Boolean

Digits

Number

Display Location In Decimal

Boolean

Encrypted

Boolean

External Id

Boolean

Extra Type Info

String

Filterable

Boolean

Filtered Lookup Info

Groupable

Boolean

High Scale Number

Boolean

Html Formatted

Boolean

Id Lookup

Boolean

Inline Help Text

String

Label

String

Length

Number

Mask

String

Mask Type

String

Name

String

Name Field

Boolean

Name Pointing

Boolean

Nillable

Boolean

Permissionable

Boolean

Picklist Values

Array of Picklist Entry

Precision

Number

Query By Distance

Boolean

Reference Target Field

String

Reference To

Array of String

Relationship Name

String

Relationship Order

Number

Restricted Delete

Boolean

Restricted Picklist

Boolean

Scale

Number

Soap Type

Enumeration, one of:

  • tns:ID

  • xsd:base64Binary

  • xsd:boolean

  • xsd:double

  • xsd:int

  • xsd:string

  • xsd:date

  • xsd:dateTime

  • xsd:time

  • tns:location

  • tns:address

  • xsd:anyType

  • urn:RelationshipReferenceTo

  • urn:JunctionIdListNames

  • urn:SearchLayoutFieldsDisplayed

  • urn:SearchLayoutField

  • urn:SearchLayoutButtonsDisplayed

  • urn:SearchLayoutButton

  • urn:RecordTypesSupported

Sortable

Boolean

Type

Enumeration, one of:

  • string

  • picklist

  • multipicklist

  • combobox

  • reference

  • base64

  • boolean

  • currency

  • textarea

  • int

  • double

  • percent

  • phone

  • id

  • date

  • datetime

  • time

  • url

  • email

  • encryptedstring

  • datacategorygroupreference

  • location

  • address

  • anyType

  • complexvalue

Unique

Boolean

Updateable

Boolean

Write Requires Master Read

Boolean

Filtered Lookup Info

Field Type

Controlling Fields

Array of String

Dependent

Boolean

Optional Filter

Boolean

Picklist Entry

Field Type

Active

Boolean

Default Value

Boolean

Label

String

Valid For

Binary

Value

String

Named Layout Info

Field Type

Name

String

Record Type Info

Field Type

Available

Boolean

Default Record Type Mapping

Boolean

Master

Boolean

Name

String

Record Type Id

String

Scope Info

Field Type

Label

String

Name

String

Empty Recycle Bin Result

Field Type

Errors

Array of Error

Id

String

Success

Boolean

Find Duplicates Result

Field Type

Duplicate Results

Array of Duplicate Result

Errors

Array of Error

Success

Boolean

Duplicate Result

Field Type

Allow Save

Boolean

Duplicate Rule

String

Duplicate Rule Entity Type

String

Error Message

String

Match Results

Array of Match Result

Match Result

Field Type

Entity Type

String

Errors

Array of Error

Match Engine

String

Match Records

Array of Match Record

Rule

String

Size

Number

Success

Boolean

Match Record

Field Type

Additional Information

Field Diffs

Array of Field Diff

Match Confidence

Number

Record

Additional Information Map

Field Type

Name

String

Value

String

Field Diff

Field Type

Difference

Enumeration, one of:

  • DIFFERENT

  • NULL

  • SAME

  • SIMILAR

Name

String

S Object

Field Type

Children

Array of Xml Object

Default Namespace

String

Fields To Null

Array of String

Id

String

Name

Any

Type

String

Typed Children

Array of [XMLizable]

Value

Any

Xml Type

Any

Xml Object

Field Type

Children

Array of Xml Object

Default Namespace

String

Name

Any

Typed Children

Array of [XMLizable]

Value

Any

Xml Type

Any

Get Deleted Result

Field Type

Deleted Records

Array of Deleted Record

Earliest Date Available

DateTime

Latest Date Covered

DateTime

Deleted Record

Field Type

Deleted Date

DateTime

Id

String

Get Updated Result

Field Type

Ids

Array of String

Latest Date Covered

DateTime

Get User Info Result

Field Type

Accessibility Mode

Boolean

Currency Symbol

String

Org Attachment File Size Limit

Number

Org Default Currency Iso Code

String

Org Default Currency Locale

String

Org Disallow Html Attachments

Boolean

Org Has Person Accounts

Boolean

Organization Id

String

Organization Multi Currency

Boolean

Organization Name

String

Profile Id

String

Role Id

String

Session Seconds Valid

Number

User Default Currency Iso Code

String

User Email

String

User Full Name

String

User Id

String

User Language

String

User Locale

String

User Name

String

User Time Zone

String

User Type

String

User Ui Skin

String

Apex Request Headers

Field Type

Cookies

Object

Headers

Object

File Properties

Field Type

Created By Id

String

Created By Name

String

Created Date

DateTime

File Name

String

Full Name

String

Id

String

Last Modified By Id

String

Last Modified By Name

String

Last Modified Date

DateTime

Manageable State

Enumeration, one of:

  • released

  • deleted

  • deprecated

  • installed

  • beta

  • unmanaged

Namespace Prefix

String

Type

String

Merge Result

Field Type

Errors

Array of Error

Id

String

Merged Record Ids

Array of String

Success

Boolean

Updated Related Ids

Array of String

Push Event Result

Field Type

Fanout Count

Number

User Online Status

Object

Generic Streaming Event

Field Type

Payload

String

User Ids

Array of String

Reset Password Result

Field Type

Password

String

Upsert Result

Field Type

Created

Boolean

Errors

Array of Error

Id

String

Success

Boolean