There isn’t a way to ask Deadline what the folder name is. There is a function to create the folder which the plugin script uses as I mentioned in the previous post, but no way to read it outside of the Worker (a.k.a. Slave).
But you can ask the folder you constructed what sub-folders it has.
The sub-folders will be prefixed with the thread% token, followed by _ and the random token. So if you are interested in Thread 0, all you have to do is find out which of the existing folders starts with “thread0_”…
I just run a Maya job with 3 concurrent tasks and got these 3 sub-folders of my job folder:
So if you would check the sub-folders of the path “C:\Users\bobop\AppData\Local\Thinkbox\Deadline10\slave\DESKTOP-4E76V9C\jobsData\5f486f548d565251385cf083” you would get back
Then just use the (first?) one you want to build the path to open in the Explorer…