Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Email - Send With Document Problem


Former Community Member
LCES with SP2

I am trying to use the Send With Document service in the middle of my process to send a copy of the form to a user. My forms are pdf forms and the type is XFAform in Workbench. My form submit button is XML Data Package (XDP).

I have been unsecessful in getting the form to attach to the email. Does anyone have any ideas on how to make this happen? I don't want to have to convert all of my form type to DocumentForm but if I have to I guess I will. It's a good sized process and I don't want to have to recreate the whole process.

Thanks in advance,

3 Replies


Level 10
So you're just submitting the XDP back to your process.

You could use renderPDFForm from the Forms service to create a PDF from the data you just submitted.



Former Community Member
How would I configure that? I normally would use @formURL and @inDocData in my render process but what about in my main process?


Form to Render: ?

Form Data: ?

URL Options: ?


Rendered Form: ?