Newer Version Available

This content describes an older version of this product. View Latest

BatchApexErrorEvent

Notifies subscribers of errors and exceptions that occur during the execution of a batch Apex class.

For more information, see BatchApexErrorEvent in the Platform Events Developer Guide.

Fields

Field Label API Field Name Type Digits Length Precision Scale
Async Apex Job ID AsyncApexJobId string 18
Created By ID CreatedById reference 18
Created Date CreatedDate datetime
Error Stack Trace StackTrace string 5000
Exception Message Message string 5000
Exception Type Thrown ExceptionType string 200
Item Values Max Length Exceeded DoesExceedJobScopeMaxLength boolean
Items In Failed Batch JobScope textarea 40000
Jetty Request ID RequestId string 18
Phase Phase string 8
Replay ID For Platform Event ReplayId string 1000