> For the complete documentation index, see [llms.txt](https://docs.nected.ai/nected-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nected.ai/nected-docs/development-lifecycle/develop/undo-and-redo.md).

# Undo & Redo

While building a Rule or Workflow, Nected tracks the changes you make in your current editing session so you can step backward and forward without losing work. Undo & Redo works out of the box in every Rule type (Simple Rule, Decision Table, Ruleset) and in the Workflow canvas - there's nothing to configure.

### How it works?

The Undo and Redo icons sit in the top toolbar of the editor, just before **Test Run** and **Publish**:

<figure><img src="https://4290782554-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLg716fCfV8IUwXQygkTG%2Fuploads%2FK4Ln3gRILo9tJWDG0mUM%2F2026-09-25_16-02-49.png?alt=media&amp;token=dbf4dc08-0657-4117-a4c6-61a953639dc3" alt=""><figcaption></figcaption></figure>

* In both the **Rule** editor and the **Workflow** editor, they appear before the "**Test**" button.
* **Undo** reverts your last change - adding or removing a row/node, editing a condition or result, moving a node, updating a variable, and similar edits.
* **Redo** re-applies a change you just undid.

Each icon shows a small counter badge with the number of steps available, and is disabled (greyed out) once there's nothing left to step through - hovering over a disabled icon shows "Nothing to undo" / "Nothing to redo". Hovering over an active icon shows how many steps are available, for example "Undo last change - 3 available."

Making a new change after an Undo clears the Redo history from that point, which is standard editor behavior.

### Keyboard shortcuts

| Action | Shortcut               |
| ------ | ---------------------- |
| Undo   | `Cmd/Ctrl + Z`         |
| Redo   | `Cmd/Ctrl + Shift + Z` |

### Scope and limits

* Undo/Redo tracks changes made **in your current editing session**. Leaving the editor or reloading the page clears the history - your already auto-saved draft changes are unaffected, but you can no longer step back through them with Undo.
* This is different from [Version Control & Rollback](/nected-docs/audit/version-control-and-rollback.md), which lets you revert to a previously **published** version of a Rule or Workflow. Use Undo/Redo for quick corrections while you're actively editing, and Version Control when you need to go back to an older published version.
