> 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:

![](https://2924009365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5FyPmqVkPxhj2oT8fbgB%2Fuploads%2Fgit-blob-7b06321284e1b0b7f82786aad63e462fe33ef73e%2Fc699972e-set_to_pending.png?alt=media)

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”.
