OnPageBackgroundTaskError (Page Extension) trigger
Version: Available or changed with runtime version 4.0.
Runs when an error occurs in a page background task.
Syntax
trigger OnPageBackgroundTaskError(TaskId: Integer; ErrorCode: Text; ErrorText: Text; ErrorCallStack: Text; var IsHandled: Boolean)
begin
...
end;
Parameters
TaskId
Type: Integer
Specifies the ID of the background task that was run.
ErrorCode
Type: Text
Specifies the severity level of the error that occurred.
ErrorText
Type: Text
Specifies the message that explains the error that occurred.
ErrorCallStack
Type: Text
Specifies the call stack for the error that occurred.
IsHandled
Type: Boolean
true indicates that the error has been handled; false indicates that it has not been handled.
Related information
Get Started with AL
Developing Extensions
OnPageBackgroundTaskError (Page) Trigger