Publishing a document to Broker from CAF

Hello:

I need to publish a document to the Broker from a task code. What is the best way to do this ?

Thanks

Hi
I usually create an IS flow service that publishes that document, use the doc type as input and call this flow service from the portlet.

best regards
Javier

thanks I did that.