# Version Control

A revision is an updated or modified version of a document after its initial upload. Revisions help keep track of changes, supporting collaboration and version control within the document management system. Each time a document is checked out and checked in, a new revision is created.

### Check-in and Check-out a Document

Follow these steps to create a revision of your document:

1. Click on a document to view it.&#x20;
2. Click the **Document Actions** menu and select **Check out.** This step locks the file for editing and prevents simultaneous changes by other users.<br>

   <figure><img src="/files/YyDugjTrm1quealSBlv7" alt=""><figcaption></figcaption></figure>
3. When you are ready to upload the new version, access the **Document Actions** menu again and select **Check in.**&#x20;

   <figure><img src="/files/bi4kKQd1m6cSO1M1JF5n" alt=""><figcaption></figcaption></figure>
4. Upload a new version of the document. &#x20;

   <div align="left"><figure><img src="/files/LpuFkKHhlc0ZLDwdu7D9" alt="" width="371"><figcaption></figcaption></figure></div>
5. Click **Close** to check in the new file as a revision.

### View Revision History

Follow these steps to view a document's revision history:

1. From the **Document Actions** menu, select **Revisions** to view a list of all the previous versions of the document. The **Revisions** option appears only if multiple document versions exist.<br>

   <figure><img src="/files/DUinowiZ9YK9mVmJYwpY" alt=""><figcaption></figcaption></figure>
2. Select one of the available revisions to open it in a new tab. This allows you to review changes, compare different versions, and ensure you are working with the correct file.<br>

   <figure><img src="/files/Zu5SdCNTY2PCgn8M5J7W" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://processmaker.gitbook.io/idp/idp-user/document-management/version-control.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
