hi, i got the solution
the renderpdf process can be used to add map of the attachments. its not mandatory input parameter nd can be taken along other input parameters.
different apis are also available
like renderpdf, renderformhtmletc.
regards
Sunil Gupta