Need more info on GlideScriptedProgressWorker, if we can wait for thread to finish

Anoop Chacko
Tera Contributor

Hi All,

 

We have created the class GlideScriptedProgressWorker and we are staring the thread.

 

var worker = new GlideScriptedProgressWorker();

worker.start();

 

it appears that it is staring a thread in the background and flow continues.

 

Is there any way, I can wait for worker to finish before we proceed to next activity ?

 

what all methods are available for the object of this class ?

 

will normal thread.join kind of methods work ?

 

Thanks in advance,

5 REPLIES 5

Hetal2
Mega Expert

In our legacy system this is used in scheduled job. I am not sure if it is the right use