If you are planning to work with Manual tasks, why are you involving a thread into the mix?
If it is a manual task you can just create an application that loads the right workItemId and then complete it when the manual task is ready.
Thanks for the prompt rely. Can you point me to an example how I can do it propery?
Well it really works as human tasks are working just simpler.
Try to create an example of the following:
1) A process with a manual task in it
2) register the ManualTaskWorkItemHandler to the kie session
3) the ManualTaskWorkItemHandler in the execute method it needs to register somewhere (probably your own data storage/db/file/etc) that a manual task is pending and inside it needs to store the workItemId that is associated with that task
4) when the manual task is completed just pick the workItemId that you have stored and using the kiesession.getWorkItemManager().completeWorkItem method complete the work item with the correspondent outputs.
No threads involved.. keep it as simple as possible and share your problems if you find them