task.SuiteQLTaskStatus
| Object Description | The status of an asynchronous SuiteQL task (task.SuiteQLTask) in the NetSuite task queue. You create a  | 
| Supported Script Types | Server scripts For more information, see SuiteScript 2.x Script Types. | 
| Module | |
| Methods and Properties | |
| Since | 2020.2 | 
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 Module Script Samples.
            // Add additional code
...
// mySuiteQLTask is an existing task.SuiteQLTask object
var myTaskId = mySuiteQLTask.submit();
var myTaskStatus = task.checkStatus({
    taskId: myTaskId
});
...
// Add additional code