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?
The way I look at it is you have two options. You can create another new field on the item record and copy the value over into the new field (that won’t be deleted). Or you can run a saved search for all of the items along with that value and export it to excel. Then once the update is done, create a new field and upload the info. I recon technically both options involve a new field it is just whether you want to put the data back in before or after the update.