recognition.TaskStatus

Note:

JavaScript does not include an enumeration type. The SuiteScript 2.0 documentation uses the term enumeration (or enum) to describe a plain JavaScript object with a flat, map-like structure. In this object, each key points to a read-only string value.

Enum Description

Holds the string values for supported merge task statuses.

This enum is used to represent the task status in a recognition.MergeArrangementsTaskStatus object.

Type

enum

Module

N/task/accounting/recognition Module

Sibling Module Members

N/task/accounting/recognition Module Members

Since

2019.2

Values

Value

COMPLETE

FAILED

PENDING

PROCESSING

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
});

log.audit({
    title: 'Status', 
     details: mergeTaskState.status
}); 

          

Related Topics

N/task/accounting/recognition Module

General Notices