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

# label (Perforce)

> Labels a file or folder in a Perforce depot. Inputs Input Name Input Code Required Description Instance Code FDPF INP PERFORCE INSTANCE CODE Yes The P

Labels a file or folder in a Perforce depot.

# 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 depot path to apply the label to.</td></tr><tr><td>Label Name</td><td>`FDPF_INP_LABEL_NAME`</td><td>Yes</td><td>The name of the label being created. (Must be unique)</td></tr><tr><td>Label Description</td><td>`FDPF_INP_LABEL_DESCRIPTION`</td><td>No</td><td>An optional description for the label.</td></tr><tr><td>Changeset ID</td><td>`FDPF_INP_CHANGESET_ID`</td><td>No</td><td>Optionally specify the Changeset ID to label. Default is latest.</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.
