The fourth stage of applying evidence changes consists of the following steps to apply pending removal changes to active evidence:
- The evidence controller applies the evidence changes to active evidence pending removal by changing the status of this evidence to canceled.
- The evidence controller searches for existing active evidence records which have the same succession ID as the newly canceled evidence records. If found, the evidence controller re-attributes all evidence records in the succession.
- The evidence controller calls out to a hook which enacts any additional steps required to cancel the active evidence.
- The evidence controller adds a new entry to the evidence change history table for each evidence record which has been canceled.