DocumentCaptureTaskStatus.taskId

Property Description

ID of the submitted document capture task.

This property references the same task ID that is returned by DocumentCaptureTask.submit() when you submit the task for asynchronous processing.

Type

string (read-only)

Module

N/task Module

Parent Object

task.DocumentCaptureTaskStatus

Sibling Object Members

DocumentCaptureTaskStatus Object Members

Since

2025.2

Errors

Error Code

Thrown If

READ_ONLY_PROPERTY

You try to set the value of this property after the task.DocumentCaptureTaskStatus object is created.

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 Module Script Samples.

            // Add additional code
...
// myDocCaptureTask is an existing task.DocumentCaptureTask object
var myTaskId = myDocCaptureTask.submit();
var myTaskStatus = task.checkStatus({
    taskId: myTaskId
});
var theTaskId = myTaskStatus.taskId;
...
// Add additional code 

          

General Notices