Skip to content

TRG_BatchApexErrorEvent ​

Trigger

apex
trigger TRG_BatchApexErrorEvent on BatchApexErrorEvent (after insert)

Batch job failure trigger: hands each failure the platform reports to the framework, which writes it to the log