MapReduceScriptTaskStatus.status
Property Description |
Status of a map/reduce script deployment that was submitted for processing. Returns a task.TaskStatus enum value. For general details about the execution of map/reduce scripts, see Map/Reduce Script Submission. |
Type |
string (read-only) |
Module |
|
Since |
2015.2 |
Errors
Error Code |
Message |
Thrown If |
---|---|---|
|
— |
Setting the property is attempted |
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 ...
var summary = task.checkStatus(scriptTaskId);
log.audit({
title: 'Status',
details: summary.status
}); ...
//Add additional code
For general information about map/reduce scripts, see SuiteScript 2.x Map/Reduce Script Type.