Finetune the pdf attachment of 'Create Email Content' task

Dear all,

I have a datamapper and a design with a print section and an email section.
In workflow I use the ‘Execute Data Mapping’ (with ‘Output Type’ property set to ‘Metadata’) and the ‘Create Email Content’ task (with ‘Data Source’ property also set to ‘Metadata’ and ‘Print Context as PDF Document’ property checked) to send email.
This works fine as expected.

However, I want to apply some Output Creation Settings to the pdf attachment. More specific, I want to add a digital signature and some additional content.
I tried to do this by adding the ‘Create Job’ and ‘Create Output’ tasks between the ‘Execute Data Mapping’ and ‘Create Email Content’ tasks, but that doesn’t seem to work.

Can someone point me in the right direction?

PS I’m using Workflow 2021.1.2.2832. I know this isn’t the latest version, but upgrading is unfortunately not possible at this moment.

Hi Bart,

You cannot use the “Print Context as PDF Document” option here.
You need to create the pdf by “datamapper - Create print content - create job - create output” save the pdf on disk. And use the dynamic attachment option in the email section of your template to attach the pdf in your email when using Create Email Content.

Kind regards,
Dennis Kleijne

Hm, that was exactly what I was trying to avoid.

Not what I had hoped for, but thanks anyway for the swift answer.