All pages
1 of 6

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

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:

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.

Set Records to Skipped

The Set Records to Skipped tool directly sets the status of records to Skipped, causing CopyStorm/Restore to never attempt to restore the records. This is useful in a number of cases where records are identified in the candidate scan, but:

  • It is known that the records will have problems if they are restored, but the record scanning results need to be kept.

  • They are being held back from the current restore operation in preparation for being restored later.

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

Tracker Database Tab

The CopyStorm/Restore Tracker database contains information about records that can or will be restored. The following screenshot was taken after a restore operation was partially completed:

Field
Description

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?

Show Skipped Reasons

The Show Skipped Reasons tool displays the reason(s) why CopyStorm/Restore failed to restore records.

Skipped records are organized using two parameters:

  • Category — the general type of reason a record was skipped.

    • Most reasons use the category “Default” but some, like Lead, may use the category “Unsupported”.

    • “Unsupported” reasons are due to the Salesforce API not supporting the operation.

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

  • Filter Type

    The type of filter to use. Options include:

    • Simple

    • Advanced

      • Filter visible records using a .

    Record Type

    Filters displayed records by restore status. Options include:

    • All — show all records.

    • Inserted — show records that were inserted into Salesforce.

    • Updated — show records that were updated in Salesforce.

    • Skipped — show records that were skipped by CopyStorm. Clicking on the status value will display a popup with the skipped reason.

    Field
    Description

    Field

    Lists all columns which support filtering by text.

    Contains

    Lists options for interpreting the text following this pulldown. Options include:

    • Contains — show any record containing the filter string.

    • Equals — show any record matching the filter string exactly (case insensitive).

    • StartsWith — show any records starting with the string.

    Apply

    Causes the current filter to be applied to the data.

    Clear

    Causes the current filter to be removed.

    The middle part of the dialog shows the status of each record and the corresponding data from the CopyStorm backup.

    The first three columns contain tracking data for each record, the remaining columns contain record data from the CopyStorm backup. The “Name” column always appears first, other columns appear in alphabetical order.

    Column Name
    Description

    Original Id

    The unique Salesforce Id for the record in the CopyStorm backup.

    Restored Id

    The Salesforce Id the record was restored to in Salesforce. If the record was restored via an update, the value will be the same as the Original Id. Otherwise the value will be different.

    Status

    The restoration status of this record. Values include:

    • Inserted — this record has been added to Salesforce as a new record.

    • Updated — this record has been added to Salesforce by updating an existing record.

    • Skipped — this record was not restored to Salesforce. Click on the status to view the underlying reason.

    • Pending — this record is waiting to be restored.

    The Tracker Database can be queried directly using tools like SQuirreL, or any other H2 database browser.

    Database schema documentation can be found here.

    Object

    Filters displayed records by object name. Only objects which are part of the restore set are listed.

    Show Fields

    Only displays certain fields based on the specified option. Options include:

    • All — show all fields.

    • None — show Original Id, Restored Id, and Restore Status.

    • Choose Fields — select specific fields to show.

    Tool

    Tracker Controls

    Use Tools to modify records in the Tracker Database. Tool options include:

    Simple Filter Parameters

    Example: Show only Accounts containing the string “Cardinals”

    Record Status

    Other Resources

    391e88db-TrackerDatabaseInternals.pdf
    PDF · 157KB
    Open

    Table — the name of a table with skipped records.

    These parameters may be set at the top of the Show Skipped Reasons dialog. If not set, all values are displayed. In addition a search string may be specified, limiting displayed records to those whose reason contains the search string.

    The following additional operations are supported:

    • The “Delete” button deletes skipped reasons from the tracker database.

    • The “Export” button saves skipped reasons to a CSV file.

    Delete Records

    The Delete Records tool deletes records from the Tracker Database. The most common use case is:

    • The candidate scan found too many records. I want the application to forget about previously found records.

    Using the Delete Records dialog requires making two decisions:

    • Which records should be deleted.

    • Which record statuses should be affected.

    Default parameters delete all visible skipped and pending records.

    • Records to Delete

      • “Visible”: Delete all records currently shown in the Tracker table, taking filters into account.

      • “Table”: Delete all records in the Tracker table, not taking filters into account.

      • “All”: Delete all records from all Tracker tables.

    Selected Record Status

    • Only delete records with the selected statuses.

  • Limit Delete To

    • Records that have been deleted from the target Salesforce.

      • Only delete records that were previously restored and no longer present in the target Salesforce.

    • Records that are missing in the CopyStorm database.

      • Only delete records that were previously found in the CopyStorm database but no longer present.

  • Other Tracker Data to Delete

    • Exceptions: Delete all Exception logging history from the tracker.

    • Skipped Record Reasons: Delete all record skip logging history from the tracker.

    • Restore History: Delete all Restore job logging history from the tracker.

  • Pending — show records waiting to be inserted or updated in Salesforce.

    Set to Pending
    Set to Skipped
    Revert to Pending
    Delete Records
    Record Filter