I need receive the process result

I run a process since a portlet publishing a document, how can I receive the process finish document. I need get the result of the process.