RE: How can I capture the value of a field that will be deleted in a bundle update?
A custom record change occurred in a source account bundle that will delete a field in downstream bundles when they’re updated. I expected to be able to capture the value of this field using the “beforeUpdate” hook in the bundle install script, but by the time that hook is executed, the object transitions have already occurred and the field is gone. It is like “beforeUpdate” really means “midUpdate”, because objects have already been updated. System notes are turned off for the affected record type, so I cannot use those to capture old values either. Bundle anchoring is not an option. Anyone have other ideas?
If field is being removed with bundle, it is not possible to get it back. This is a reason while removing bundle we need to backup all fields’ values.