MergeArrangementsTaskStatus.errorMessage

Property Description

Holds an error message that describes the failure of the merge task. This property is valid only if the value of the MergeArrangementsTaskStatus.status property is TaskStatus.FAILED.

Type

string (read-only)

Module

N/task/accounting/recognition Module

Parent Object

recognition.MergeArrangementsTaskStatus

Sibling Object Members

MergeArrangementsTaskStatus Object Members

Since

2019.2

Syntax

Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/task/accounting/recognition Module Script Samples.

            var mergeTaskState = recognition.checkStatus({
    taskId: taskStatusId
});

if (mergeTaskState.status === 'ERROR') {
    log.debug('Error Message: ' + mergeTaskState.errorMessage);
} 

          

Related Topics

N/task/accounting/recognition Module

General Notices