Kris Wood
06/06/2018, 10:23 PMvar mrTask = task.create({
taskType: task.TaskType.MAP_REDUCE,
scriptId: 'customscript_updatelocations_mr',
deploymentId: 'customdeploy_updatelocations_mr',
params: {
locations: locationsToUpdate,
}
});
mrTask.submit();