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

# checkin

> Checks in working changes to a TFVC project. This operation will implicitly checkout the server path specified, overlay the working changes and check

Checks in working changes to a TFVC project.  This operation will implicitly checkout the server path specified, overlay the working changes and check back in to TFVC.

# 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>`FDTFVC_INP_INSTANCE_CODE`</td><td>Yes</td><td>The TFVC instance code to use.</td></tr><tr><td>Checkin Comment</td><td>`FDTFVC_INP_CHECKIN_COMMENT`</td><td>No</td><td>The comment to use when checking in.</td></tr><tr><td>Server Path</td><td>`FDTFVC_INP_SERVER_PATH`</td><td>Yes</td><td>The TFVC Server path to check in to.  This should be a valid TFS server path starting with \$/.</td></tr><tr><td>Local Path</td><td>`FDTFVC_INP_LOCAL_PATH`</td><td>No</td><td>The local location containing the files you wish to check in.  This path is relative to the FD\_ARTIFACTS\_DIR</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.

# Special Considerations

## Example

I have a file on my local build server I want to check back in to my remote TFVC server.  The local files I want to check in are created as a result of the prior workflow step and are located here:

> [!NOTE]
>
> FLEXDEPLOY\_BASE\_DIR/work/12345/54321/temp/source/file.txt
>
> FLEXDEPLOY\_BASE\_DIR/work/12345/54321/temp/source/file2.txt

I want to check these files back in to the **server** location of **\$/MyTeam/MyApplication/source**

We know the temp directory can be accessed with FD\_TEMP\_DIR so our check in operation would look like the following

![image-20240319-165819.png](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12590937570.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=e5bb084a489ea1d783944879e2e6b193)

![image-20240319-170327.png](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12590937567.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=849b1d570df5c3d144fa71c67dea7b0f)
