action.getBulkStatus(options)
Method Description |
Returns the current status of action.executeBulk(options) for the specified task ID. The bulk execution status is returned in a status object. |
Returns |
|
Supported Script Types |
Client and server scripts For more information, see SuiteScript 2.x Script Types. |
Governance |
None |
Module |
|
Sibling Object Members |
|
Since |
2019.1 |
Parameters
Parameter |
Type |
Required / Optional |
Description |
---|---|---|---|
|
string |
required |
The task ID returned by a previous action.executeBulk(options) call. |
Syntax
The following code snippet shows the syntax for this member. It is not a functional example. For a complete script example, see N/action Module Script Samples.
// Add additional code
...
// Obtain the status as a RecordActionTaskStatus object
var res = action.getBulkStatus({
taskId: handle
});
...
// Add additional code