> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# commitPackage

> Commits a Salesforce deployment to a Salesforce Organization or sandbox. Commits a deployment which has passed its validations. Target Properties Prop

Commits a Salesforce deployment to a Salesforce Organization or sandbox.

Commits a deployment which has passed its validations.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Salesforce Account Code</td><td>`FDSF_ACCOUNT_CODE`</td><td>Yes</td><td>Salesforce Account with all the required properties like User, Password, Client Id, etc.</td></tr><tr><td>Salesforce API Version</td><td>`FDSF_API_VERSION`</td><td>No</td><td>The Salesforce API version to target.Specifies the Salesforce API version to use(e.g., 64.0, 63.0)..This property is optional. If left blank, FlexDeploy will automatically detect and use the latest supported API version from your Salesforce Org at runtime using a REST API call - up to the maximum version supported by both your Salesforce organization and FlexDeploy.</td></tr><tr><td>Salesforce Deploy Timeout</td><td>`FDSF_DEPLOY_TIMEOUT`</td><td>Yes</td><td>The Salesforce Deploy Timeout in seconds. Executions exceeding this value will be declared as Failed with timed out error in FlexDeployDefaults to 3600 seconds (1 hour)</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Deployment ID</td><td>`FDSF_DEPLOYMENT_ID`</td><td>Yes</td><td>Deployment to commit</td></tr></tbody></table>

# Artifacts

This operation doesn’t consume or produce any artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

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