Configuring Salesforce Invoke Header Properties

Enter the Salesforce invoke header values for your integration.

What You Can Do from the Salesforce Cloud Invoke Headers Page

You can configure the invoke header properties for Salesforce Cloud.

What You See on the Salesforce Invoke Headers Page

The following table describes the key information on the Salesforce Cloud invoke Headers page.

The headers available for configuration are based on the operation you selected on the invoke Operations page. There are two types of headers:
  • Request headers are sent with the request message to the Salesforce application.

  • Response headers are received with the response message sent from the Salesforce application.

Visit www.salesforce.com and specify the specific name of the header property in the search utility.
Element Description

AllOrNoneHeader (request header)

Specifies the transactional behavior for Salesforce application operations. The behavior of this parameter is based on the version of the integration and is applicable to the create, delete, update, undelete, and upsert operations.

  • Integration flows created before version 16.4.1:
    • If set to true and the response contains error elements, it maps to UnexpectedErrorFault. This is also the case if AllOrNoneHeader is set to false (that is, unselected).

  • Integration flows created for version 16.4.1 and later:

    • If set to true (that is, selected and there are error elements), it maps to UnexpectedErrorFault.

    • If set to false (that is, unselected), the adapter returns the whole response even if it contains error elements along with success elements in the response.

If you want integration flows created before 16.4.1 to use the new behavior, edit the Salesforce Adapter in the Adapter Endpoint Configuration Wizard.

AllowFieldTruncationHeader (request header)

Specifies the truncation behavior for the following fields (each are string data types):
  • anyType

  • email

  • picklist

  • encryptedstring

  • textarea

  • mulitpicklist

  • phone

  • string

Set allowFieldTruncation to one of the following values:
  • True: If you enter a value of 25 characters in a field of 20 characters, the first 20 records are inserted into the field and the transaction is successful.

  • False: If you enter a value of 25 characters in a field of 20 characters, an error is thrown and the transaction does not commit.

AssignmentRuleHeader (request header)

Specifies the assignment rule to use when creating or updating an account, case, or lead. The assignment rule can be active or inactive. The ID is retrieved by querying the AssignmentRule object. If the ID is specified, you do not need to specify the useDefaultRule value.

  • assignmentRuleId: The ID of the assignment rule to use. The ID is not validated by the Salesforce Cloud application, whether or not it exists. Validation occurs during runtime.

  • useDefaultRule: If set to true, the default (active) assignment rule is used. If set to false, the default (active) assignment rule is not used.

EmailHeader (request header)

Specifies whether or not to send a notification email. You can set the following properties:
  • triggerAutoResponseEmail

    • true: Triggers automatic response rules for leads and cases.

    • false: Automatic response rules for leads and cases are not triggered.

  • triggerOtherEmail

    • true: The email is triggered outside the organization.

    • false: The email is not triggered outside the organization.

  • triggerUserEmail

    • true: The email is triggered and sent to users in the organization. This email is triggered by a number of events such as adding comments to a case or updating a task.

    • false: The email is not triggered and sent to users in the organization.

MruHeader (request header)

The Salesforce application shows the most recently used (MRU) items. In API version 7.0 or later, the list is not updated by itself. Use MruHeader to update the list. Using this header can negatively impact performance. Set updateMru to one of the following values:
  • true: The list of MRU items is updated in the Salesforce application.

  • false: The list of most recently used items is not updated in the Salesforce application.

PackageVersionHeader (request header)

Specifies the package version for any installed package. The package version identifies the components in a package. The package version follows the format majorNumber.minorNumber.patchNumber (for example, 3.4.5, where 3 refers to majorNumber, 4 refers to minorNumber, and 5 refers to patchNumber) .

QueryOptions (request header)

Specifies the batch size for queries. The default value is 500, the minimum value is 200, and the maximum value is 2000.