NElliott
09/18/2024, 11:05 AMrequire(['N/task'], (task) => {
const status = task.checkStatus({
taskId: 'SUITEQL_really_long_string_i_wont_include_here'
});
const a = 1; // add breakpoint here.
})
Nothing ground breaking, so anyone any idea why this is happening?
Also, I have used id's from this morning, so pretty confident they haven't expired!Sagar Hiray
09/18/2024, 1:44 PMMike Robbins
09/18/2024, 5:08 PMvar taskId = task.create({
taskType: task.TaskType.SUITE_QL,
query: 'select top 1 id from customer',
filePath: '/SuiteScripts/MDR/test.csv'
}).submit();
log.debug({ title: 'taskId', details: taskId });
var status = task.checkStatus({
taskId: taskId
});
log.debug({ title: 'status', details: status });
NElliott
09/18/2024, 8:55 PM