
AutoRABIT
Use AutoRABIT ARM validation and a sandbox rehearsal before removing a replaced Salesforce field.
- Move the references
- Switch reports, Flows and integrations. Keep the original values.
- Validate the package
- Check the destination, destructive members and phase.
- Rehearse in a sandbox
- Confirm the replacement works and retired data can be recovered from the export.
Salesforce still has a custom field called Legacy Segment. A new field will replace it. Before removing the old one, move the references and reconcile the data. AutoRABIT ARM can include destructive changes before or after deployment, so verify exactly what the job will remove and when.
Separate the replacement from the cleanup
First release the new field and switch the report, Flow and integration references. Preserve the old values in a controlled export keyed by Salesforce record ID. Check that the old field has stopped receiving writes before planning its removal. In ARM, review the metadata source and destination, then inspect the selected destructive members. Choose the post-deployment phase when preparatory metadata changes must land before removal. If the preparatory release already shipped, keep the cleanup package separately reviewable.
In the example, a routing Flow was still reading Legacy Segment in the UAT sandbox. A validation-only run against that sandbox exposes the remaining dependency before any field is removed. Move the reference, rerun validation, and inspect the destructive member list again. Keep the sandbox used for an actual cleanup rehearsal distinct from production.
Check the destructive list and the replacement behavior
| Check | Expected result | Evidence to keep |
|---|---|---|
| Review the ARM package. | Only the approved legacy field is listed for removal in the intended phase. | Final summary, target sandbox and selected phase. |
| Run validation only. | The deployment check finds no remaining required references. | Validation result and any errors you resolved. |
| Rehearse the removal in a sandbox. | The replacement still drives routing and reporting, and the legacy field is gone. | Sample record IDs, report totals and the pre-change export. |
Test recovering representative field values from the export. A redeployed metadata component does not by itself restore data written before it was removed. The migration and tech debt guide covers when to keep a compatibility period before removing an old field.