I am creating a simple workflow that generates a pdf with data from a submitted form. Then, it sends the document (or a link to the document) to a specified user. I am running into issues with the URL the "Document Generation" workflow action is outputting. Currently, it is adding additional "\" whic makes the link incorrect (screenshot below). Also, you cannot add the link saved as a variable as an attachment in an email because it is a "collection" variable and not a hyperlink variable. I'm sure others have had a similar request before. Any help is appreciated!
Solved! Go to Solution.
Have you considered just storing the document as an attachment to the item from the doc gen action, then using the email current list attachment item from the "send email" action? Doing this will eliminate the need to use the folder paths etc. You also don't need to create a link to it as it will flow as an attachment.
Secondly, you could store it in a document library and just reference it again as an attachment. You can reference the document link, but this would not be a sharable link which may not help the end user get to the correct document "via" the link.