recognition.checkStatus(options)
Method Description |
Checks the status of a submitted merge task. |
Returns |
|
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Governance |
50 units |
Module |
|
Sibling Module Members |
|
Since |
2019.2 |
Parameters
The options parameter is a JavaScript object.
Parameter |
Type |
Required / Optional |
Description |
---|---|---|---|
|
number | string |
required |
The task ID of the merge task to check. The task ID is assigned to the merge task when you call recognition.create(options). |
Syntax
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
});