AsyncDeleteCallback Class
A callback class that the Database.deleteAsync method references. Salesforce calls this class after the remote deleteAsync operation is completed. This class provides the compensating transaction in the completion context of the delete operation. Extend this class to define the actions to execute after the remote delete operation finishes execution.
The following are methods for AsyncDeleteCallback.
-
Override this method to define actions that Salesforce executes after a remote
Database.deleteAsyncoperation is completed. For example, based on the results of the remote operation, you can update custom object data or other data that’s stored in the Salesforce org..
Override this method to define actions that Salesforce executes after a remote Database.deleteAsync operation is completed. For example, based on the results of the remote operation, you can update custom object data or other data that’s stored in the Salesforce org..
public void processDelete(Database.DeleteResult deleteResult)
-
deleteResult:
Type: Database.DeleteResult
The result of the asynchronous delete operation.
Type: void