> For the complete documentation index, see [llms.txt](https://docs.ins-pi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ins-pi.com/freelucy/work-in-the-app/commit-changes.md).

# Commit your changes

Every edit you make in YouDesign Freelucy, whether you add, remap, or remove, is staged first. None of it touches ServiceNow until you commit. Commit is a gate: review the full list, then confirm.

<figure><img src="/files/ud7GJK3yLWWiH6rWmBqP" alt="Stage, review, then commit"><figcaption><p>Review every staged change before it reaches your CMDB.</p></figcaption></figure>

## Step by step

1. The commit bar shows how many changes are staged. When you are ready, click **Commit**.

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>🖼️ <strong>Screenshot needed — <code>v26-commit-button.png</code></strong> The commit bar with a pending-change count and the Commit and Discard actions.</p></div>
2. The review dialog lists every staged change. Each row shows the action, the records involved, and the relationship type:

   | Column     | What it shows                           |
   | ---------- | --------------------------------------- |
   | **Action** | Add, remove, remap, or update           |
   | **From**   | The record the relationship starts from |
   | **Type**   | The relationship type                   |
   | **To**     | The related record                      |

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>🖼️ <strong>Screenshot needed — <code>v26-commit-dialog.png</code></strong> The commit review dialog listing staged changes by row, with per-row Undo and the Commit all / Discard all actions.</p></div>
3. Check the list. To drop a single change, use its **Undo**. To start over, choose **Discard all**.
4. When the list is right, choose **Commit all**.

Freelucy writes the changes to ServiceNow in a single batch. The staged styling clears, and the relationships are now live.

## Discard instead

To drop everything staged without committing, **Discard**. Freelucy refetches the record from ServiceNow, so the editor returns to exactly what is stored. Discard cannot be undone.

{% hint style="info" %}
**Leaving with unsaved changes?** If you try to open a different record while edits are staged, Freelucy asks first so you do not lose work.
{% endhint %}

***

## What's next

* [Inspect, navigate, and share](/freelucy/work-in-the-app/inspect-navigate-share.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.ins-pi.com/freelucy/work-in-the-app/commit-changes.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.
