Suite Deal
03/11/2022, 10:15 PMtask.checkStatus(mrTaskId)
to get the status and then update/refresh my suitelet progress results form. Per advice, I created a ClientScript to pause var myTimeout = setTimeout(alertMsg, 10000)
, but the suitelet form will not load until the timeout is completed. Also, the suitelet code just runs to completion after that. In other words, how do I continue to call the task.checkStatus
while Status !== 'COMPLETE'
and refresh my suitelet page with the new status? is there a do/while loop option?