Execution Finalizer

An Apex extension point that runs custom logic immediately after an Execution completes — for both #Batch and #Data Loader. Implement it when you need to react to a completed run: send notifications, write audit or summary records, or trigger downstream processes.

The execute() method receives the completed Execution__c record, so you can inspect its status, counts, and errors.

Interface Definition

apex
global interface pushtopic.ExecutionFinalizer {
    void execute(pushtopics__Execution__c execution);
}

How to Use

Implement pushtopics.ExecutionFinalizer, then reference the class on the Executable:

Reference the ExecutionFinalizer class on the Executable