Deploys a Salesforce artifact to a Salesforce Organization or sandbox.

Supports Full or Partial Deploy projects.

In Full Deployment mode, it supports:

  • Deploying a Salesforce zip file from the FD_ARTIFACTS_DIR.

In Partial Deployment mode, it supports:

  • Deploying a FlexDeploy Salesforce zip file from the FD_ARTIFACTS_DIR. This file must have been created by the BuildSalesforce operation, in a partial deploy project.
  • In this mode, see the Supported SalesForce Object Types list for information on what types of objects are supported.

Environment/Instance Properties

Property Name

Property Code



Salesforce Account Code



Salesforce Account with all the required properties like User, Password, Client Id, etc.
Sandbox nameFDSF_SANDBOXNo

The name of a sandbox to access, or leave blank to access the production organization.

The sandbox is automatically appended to the user name if forgotten.

Salesforce HTTPS protocolFDSF_HTTPS_PROTOCOLNoThe HTTPS protocol to use to secure the connection. Defaults to TLSv1.2.
Salesforce API VersionFDSF_API_VERSIONNo

The Salesforce API version to target.

This Default will likely change with each FlexDeploy server and Saleforce plugin release in the future.

The maximum supported version of Salesforce API that is supported is linked to the version of FlexDeploy currently running.

Salesforce Cli PathFDSF_CLI_PATHNoThe Salesforce CLI Path. (Eg: C:\Program Files\Salesforce CLI\bin)
Rollback On ErrorFDSF_ROLLBACK_ON_ERRORNoIndicates whether any failure causes a complete rollback (true) or not (false)


Cloud Account Properties

Property Name

Property Code



Salesforce User Email



Authentication User Email.

Salesforce PasswordFDSF_PASSWORDNo

The Salesforce password for Salesforce User.

If you are using a security token, paste the 25-digit token value to the end of your password.

If you don't know the security token, see

JWT Key FileFDSF_SERVER_KEY_FILENoPath to a file containing the private key
Client IdFDSF_CLIENT_IDNoOAuth client ID (sometimes called the consumer key)
Development Org TypeFDSF_ORG_TYPENoEnter Org type for Development Environment. Eg: Sandbox or DevHub or Developer
Salesforce URLFDSF_URLNoThe login URL of the instance the org lives on

Project Properties

Property Name

Property Code





Input Name

Input Code



Check OnlyFDSF_CHECK_ONLYNoCheck to only validate the deployment. Uncheck to complete the deployment normally.



Output Name





Outputs the deployment id so that it can be used in other operations or to look up the status of the deployment in the Salesforce UI.



This operation consumes artifacts from the artifacts repository.

Endpoint Selection

This operation will select all available endpoints associated to the environment/instance.

Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

The following macros are not currently supported in the footer:
  • style