Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Deploysa Deploys a Salesforce artifact to a Salesforce Organization or sandbox.

Supports Full or Partial Deploy projects.

In Full Deployment mode, it supports:

Deploying a FlexDeploy Salesforce zip file from the FD_ARTIFACTS_DIR.

...

In Partial Deployment mode, it supports:

  • Deploying a Salesforce zip file from the FD_ARTIFACTS_DIR.
  • In this mode, see the Supported SalesForce Object Types list for information on what types of objects are supported.

...

This file must have been created by the BuildSalesforce operation.

Target Properties

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

No

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 Deploy Timeout

FDSF_DEPLOY_TIMEOUT

Yes

The Salesforce Deploy Timeout in seconds. Executions exceeding this value will be declared as Failed with timed out error in FlexDeploy

Defaults to 3600 seconds (1 hour)

Rollback On Error

FDSF_ROLLBACK_ON_ERROR

No

Indicates whether any failure causes a complete rollback (true) or not (false)

Cloud Account Properties

Property Name

Property Code

Required

Description

Project Properties

Property Name

Property Code

Required

Description

Salesforce User Email

FDSFCA_USER

Yes

Authentication User Email.

Salesforce Password

FDSFCA_PASSWORD

No

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 http://salesforce.stackexchange.com/questions/95259/where-is-reset-security-token-option-in-salesforce

JWT Key File

FDSFCA_SERVER_KEY_FILE

No

Path to a file containing the private key

Client Id

FDSFCA_CLIENT_ID

No

OAuth client ID (sometimes called the consumer key)

Development Org Type

FDSFCA_ORG_TYPE

No

Enter Org type for Development Environment. Eg: Sandbox or DevHub or Developer

Salesforce URL

FDSFCA_URL

No

The login URL of the instance the org lives on

Sandbox Name

FDSFCA_SANDBOX

No

The name of a Sandbox to access

Inputs

Input Name

Input Code

Required

Description

Check Only

FDSF_CHECK_ONLY

No

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

Artifact Test Level

FDSF_INP_ARTIFACT_TEST_LEVEL

No

Test Level for current artifact/package. Overrides Test Level set for the package.

Accepted values are NoTestRun, RunSpecifiedTests, RunLocalTests and, RunAllTestsInOrg.

Artifact Tests

FDSF_INP_ARTIFACT_TESTS

No

Tests for current artifact/package. Overrides Tests set for the package.

Only used when the Test Level input is set to RunSpecifiedTests.

Outputs

Output Name

Required

Description

Artifacts (Keep one and edit if desired.)

This operation doesn’t consume or produce any artifacts.

This operation consumes artifacts from the artifacts repository.

This operation produces artifacts that will be stored in the artifacts repository.

This operation delegates the consume/produce artifacts decision to the workflow developer.

...

FDSF_DEPLOYMENT_ID

No

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.

FDSF_OUT_NUMBERTESTFAIL

No

Number Test cases Fail

FDSF_OUT_NUMBERTESTSUCCESS

No

Number Test cases Success

FDSF_OUT_NUMBERTESTRUN

No

Number Test cases Run

FDSF_OUT_TESTPERCENTAGE

No

Test Percentage

FDSF_OUT_CODECOVERAGEPERCENTAGE

No

Code Coverage Percentage

Artifacts 

This operation consumes artifacts from the artifacts repository.

Endpoint Selection

This operation will select all available endpoints associated to the environment instance which have resource type of {Resource Type}. 

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

This operation delegates the selection to the workflow developer to determine.

...

Target.

Endpoint Execution

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

This operation will execute on all of the selected endpoints and will execute on each of the selected endpoints.

This operation will select all available endpoints associated to the environment instance which have resource type of {resource type}. 

This operations delegates the execution to the workflow developer to decide.

Special Considerations

[Delete section if not needed]

Describe any dependencies between properties that may exist or anything that that isn’t really covered above but is relevant to this operation.