03-09-2021, 03:30 PM
(03-09-2021, 12:08 AM)joebordes Wrote: yes, you can do this. if gendoc is configured and you select a document template to be sent in an email workflow task, corebos will notice that the selected document is a template and the gendoc is active and will generate the document and attach the result instead of the document. If PDF generation is also configured, it will generate the PDF and send that.
In short: select the document template in the email task
Thanks Joe. There I chose the ODT template of the invoices as a document in the workflow task "Send mail", but when he sends me the emails he does so in ODT and not PDF. I checked if I had to set a global variable with that, but I couldn't find it. Where can I tell the system to do it in PDF? Thanks