output document

Hi.
I generate an odt document with process variables with a groovy script in a “Connector in” and I convert this odt document in a pdf document with an other groovy script in a “Connector out”. I did these conectors in the same service task.
I have a document variable, my question is:
How can I introduce the pdf or odt document in the document variable?
I require that the user can download the generate odt document or the pdf.
Sorry for my english.

Either/Or means you should have two document variables…that’s the way i would do it

regards
Seán

PS: If this reply answers your question, please mark as resolved.

Hi.
I have a concern:
1.- How can I assign the pdf in the document variable? I tried to do a groovy script but I can’t show the file in the next form.