QueryTask.id

Property Description

The ID of the task.

Type

string

Supported Script Types

Server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/task Module

Parent Object

task.QueryTask

Sibling Object Members

QueryTask Object Members

Since

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 
...
// A unique task id for the task is returned when you submit the task. (queryTask is a previously created task.QueryTask object)

var queryTaskId = queryTask.submit(); //queryTaskId is the unique task id
...
//Add additional code 

        

Related Topics

General Notices