Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=QueryTaskStatus.taskId for more information.
N/task Module
QueryTaskStatus.taskId
Property Description:
ID of the submitted query task.
This property references the same task ID that is returned by QueryTask.submit() when you submit the task for asynchronous processing.
Type:
string (read-only)
Supported Script Types:
Server scripts
For more information, see SuiteScript 2.0 Script Types.
Module:
N/task Module
Parent Object:
task.QueryTaskStatus
Sibling Object Members:
QueryTaskStatus Object Members
Since:
2020.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=QueryTaskStatus.taskId
Example:
// Code Example 1
// Add additional code
//...
// myQueryTask is an existing task.QueryTask object
var myTaskId = myQueryTask.submit();
var myTaskStatus = task.checkStatus({
taskId: myTaskId
});
var theTaskId = myTaskStatus.taskId;
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_159223815752.html