Return Status

This field displays the return status of the background task once it has finished running.

This field displays one of these messages:

  • Task Succeeded
  • Task Failed - Error -1
  • Task Cancelled - Error -2

The return code -1 indicates that the task generated either a warning or an error. A warning message means there was a problem, but the task was completed. An error message means the task was terminated prematurely. For details, see the message in the Error Message field.

The return code -2 indicates that the task was canceled before it could run or finish running. This typically occurs when a user initiates the cancellation with the Request Cancellation button. For additional details, see the message in the Error Message field.

Note: Stored procedures and executables can generate custom return codes, which are displayed here.

If this field is empty, it indicates that the task has not run or is not finished running.