Using local environment variables with Salesforce nodes

The SalesforceRequest node supports a number of local environment message tree variables, which you can use to dynamically alter the values that are set in the node properties.

The following table shows the environment variables that can be set to control the behavior of the SalesforceRequest node:
Local environment variable Type Description
LocalEnvironment.Destination.Salesforce.Request.url string The URL of the external Salesforce system.

Overrides the Salesforce URL property on the SalesforceRequest node.

LocalEnvironment.Destination.Salesforce.Request.operation string The operation to be requested on the Salesforce system:
  • Create
  • Update
  • Retrieve
  • Delete

This environment variable overrides the Operation property on the SalesforceRequest node.

LocalEnvironment.Destination.Salesforce.Request.object string The Salesforce object type for the request.

This environment variable overrides the Salesforce object property on the SalesforceRequest node.

LocalEnvironment.Destination.Salesforce.Request.id string The Salesforce ID of a Salesforce record. This value is used for the following operations:
  • Retrieve (optional)
  • Update (optional)
  • Delete (required)

This Salesforce Id is assigned to a record when it is created on the Salesforce system.

LocalEnvironment.Destination.Salesforce.Request.externalIdName string The name of an external ID field of a Salesforce record. This value is used for the following operations:
  • Retrieve (optional)
  • Update (optional)
LocalEnvironment.Destination.Salesforce.Request.externalId string The external ID of a Salesforce record. This value is used for the following operations:
  • Retrieve (optional)
  • Update (optional)
LocalEnvironment.Destination.Salesforce.Request.filter structure The filter to be used for restricting the records returned by a Retrieve operation. For more information, see Retrieving Salesforce records.
LocalEnvironment.Destination.Salesforce.Request.timeoutMilliseconds integer The time (in milliseconds) that the node waits for Salesforce to process the operation.

This environment variable overrides the Timeout (milliseconds) property on the SalesforceRequest node.