The pega work object created has pyID of format S-XXX.
Now, within the work object, how do I find out the threadname? The threadname could have changed to S-XXX. How to capture the threadname initially created? I have to store the threadname value as part of the case for reporting purpose.