> For the complete documentation index, see [llms.txt](https://learn.capstorm.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.capstorm.com/copystorm-restore/reference/tracker-database-tab/set-records-to-pending.md).

# Set Records to Pending

The Set to Pending tool resets the Track Database back to a “Pending” state, causing CopyStorm/Restore to attempt to restore the records again. This is useful in a number of cases:

* A validation caused records to be skipped during a previous restore. The validation rule was then disabled and the records should now be restored.
* Records were previously restored but the data in the CopyStorm backup has changed. Previously restore Salesforce data should be overwritten.
* Records in Salesforce were deleted by hand and should be re-restored without losing the tracker history.

The following screenshot shows available options on the Set to Pending dialog:

![](/files/UZ5MJyoUrJo6m6KdqK23)

There are a few decisions to make when using this dialog:

1. Choose which records to reset to pending.
2. Choose which record statuses can be affected.

Default parameters will change all visible skipped records to a pending state.

* Records to Reset to Pending
  * “Visible”: Only change the status for records that are currently displayed in the Tracker Database table, taking filters into account.
  * “Table”: Change the status for all records in the currently selected table, do not take filters into account.
  * “Select Tables”: Change the status of one or more tables in the tracker.
* Record Status to Reset
  * Only change the status of records with the selected status or statuses.
* Other Options
  * Limit changes to records updated in the CopyStorm database since the most recent restore.
    * Change the status only for records with a modification timestamp newer than the timestamp the record had when it was restored.
  * Only records that have been deleted from the target Salesforce.
    * Change the status only for records that were previously restored but are now missing from Salesforce.
  * Clear the Restored Id field for each record.
    * In addition to changing the record status, remove the “Restored Id”.


---

# 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, and the optional `goal` query parameter:

```
GET https://learn.capstorm.com/copystorm-restore/reference/tracker-database-tab/set-records-to-pending.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
