Showing results for 
Search instead for 
Did you mean: 
Not applicable

Update Document to Create List Attachment

I have a list workflow which takes data from a form and fills in controls in a MS-Word template using Update Document.  It should then save the filled-in template as an attachment to the list item, either creating a new attachment file, or overwriting the old attachment file.  The next step would be to convert the attached Word file into a PDF using Convert Document, also attaching the PDF to the list item.  The PDF would be created if new, or would version up if existing (this is run repeatedly as the list item is updated.

Update Document

     Source URL:

     Output URL: Number.docx

          ('ID' is an inserted reference of the list item ID; 'CR Number' is an inserted reference of a list item property)

     Overwrite existing item: Overwrite

Covert Document

     Source URL: Number.docx

     File type: Document (.docx)

     Output URL: Number.pdf

     Overwrite existing item: Create new version

When I run this, I get this error:

     Error updating document. There is no file with URL ' Log_1/Attachments/226/CR229.docx' in this Web.

If it would help, I could put the word and, if necessary, PDF into a document library (Shared Documents, same folder as Update Document's source URL), but I would still need to copy/attach the PDF to the list item.

Please help me resolve this!

Labels: (3)