> ## 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.

# checkout (Perforce)

> Checks out files from the Perforce depot to a location defined by the user. Inputs Input Name Input Code Required Description Instance Code FDPF INP P

Checks out files from the Perforce depot to a location defined by the user.

# 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>Instance Code</td><td>`FDPF_INP_PERFORCE_INSTANCE_CODE`</td><td>Yes</td><td>The Perforce instance to use.This SCM Instance must be configured in FlexDeploy prior to using the plugin. Instance is used to retrieve information like URL, User and Password.</td></tr><tr><td>Depot Path</td><td>`FDPF_INP_DEPOT_PATH`</td><td>Yes</td><td>The path in the depot to check out.</td></tr><tr><td>Destination Path</td><td>`FDPF_INP_LOCAL_PATH`</td><td>Yes</td><td>The path inside the FD\_TEMP\_DIR to check out files to.</td></tr><tr><td>Changeset ID</td><td>`FDPF_INP_CHANGESET_ID`</td><td>No</td><td>The changeset id to use for checkout. Default is latest. If Changeset ID is provided, Label Name is ignored.</td></tr><tr><td>Label Name</td><td>`FDPF_INP_LABEL_NAME`</td><td>No</td><td>The label to checkout files from. </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.
