# Revert Pending

The Revert Pending tool undoes operations that set previously inserted or updated records to a pending state. This tool will change the state of records from Pending back to Inserted or Updated. The use case for this tool is:

* I accidentally reset a group of records to Pending and need to undo the change.

This tool only works on records where both the Original Id and Restored Id are non-blank (i.e. records that have previously been Inserted or Updated).

There is one decision to make when using this tool:

* What records should be reverted from Pending back to Inserted or Updated?

![](https://2924009365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5FyPmqVkPxhj2oT8fbgB%2Fuploads%2Fgit-blob-db3b94d560b4bfde3a1186d1cd3a5dfc18a0bb83%2F9cff66b0-Screenshot-2023-01-04-at-12.58.05-PM.png?alt=media)


---

# 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://learn.capstorm.com/copystorm-restore/reference/tracker-database-tab/revert-pending.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.
