validateSalesforce

Validate a Salesforce artifact with Salesforce Organization or sandbox.

Supports Full or Partial Deploy projects. Validating a FlexDeploy Salesforce package zip file from the FD_ARTIFACTS_DIR. This file must have been created by the buildSalesforce operation.

This operation can be used in pre-deploy or deploy workflow to validate the package with the target Salesforce Org. This operation takes the package artifact and checks against the target Salesforce Org and executes the tests specified at the Package level. 

This operation returns the Deployment Id as an Output. The Deployment Id can be used to commit the deployment package using the Commit Deployment operation.

Target Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Salesforce Account Code

FDSF_ACCOUNT_CODE

Yes

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

Salesforce HTTPS protocol

FDSF_HTTPS_PROTOCOL

No

The HTTPS protocol to use to secure the connection. Defaults to TLSv1.2.

Salesforce API Version

FDSF_API_VERSION