| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > Extension Templates >WorkingThread | [[tplextensionwindowresize.htm|{{btn_prev_n.gif|Previous page}}]][[templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[tplextensionglobalbusinessrules.htm|{{btn_next_n.gif|Next page}}]] | | || To get started with the WorkingThread template add the Procedure Extension template. {{workingthread.png|WorkingThread}} You can rename the object or accept the default name: {{workingthread2.png|WorkingThread2}} Select variables to be used in the worker thread {{workingthread3.png|WorkingThread3}} The variables in this list are generated into the CLASS prepended with **"var". **So for example, if you add the variable "LOC:Message", the CLASS is generated with the variable: **varLOC:Message       ****LIKE**(LOC:Message),PRIVATE To access the variable use **SELF .varLOC:Message** The Template creates these embeds for you to implement your code to execute on a background thread: {{workingthreadembeds.png|WorkingThreadEmbeds}} {{workingthreadembedsvirtuals.png|WorkingThreadEmbedsVirtuals}} Go to [[workingthreadmanager.htm|Class methods]]