Nintex for SharePoint Forum
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Hi
I have a workflow that converts a .docx document to a pdf in the same library. Now I want to attach the PDF to an email. I am using the send notification. The problem is that the attachment is the word file not the PDF file.
How can I attach the just created pdf as an email attachment
Solved! Go to Solution.
Hi,
have you tried to select the attachment referencing the URL of the pdf file? It should be known and you can refer it in the "Add attachment" option?
Giacomo
You will need to reference the url of the pdf file. What I do in this scenario is the following.
I create a variable with my base url which contains site, library and document name but leaves the file extension
The word action saves its output to
myvariable+".docx"
The pdf action takes that output myvariable+".docx" and it's output is myvariable+".pdf"
In send notification you attach myvariable+".pdf" which will make your notification contain the pdf attachment.
Hope this helps.
Kind regards,
Enrico
Thank you for the information. I, too, was looking to attach a document library's document to a notification and just did not see the "+ Add Attachment" next to the Attachments on the notification configuration.
Once I used that and in my case, the context item URL along with the checkmark for 'Attach file from workflow', all worked out just fine and we met the business need, so this was very helpful.