Hi Jesse,
You might experience an object reference error if trying to configure taking an attachment of a list item from source url "List A" to destination url "List B". Which you probably tried? Therefore, you might have to go from "List A" to "Document Library 1" and then to "List B".
The Document Library 1 is just a temporary/staging library to go from Source List to Destination List.
You will need to create two workflows:
- One list workflow published in List A to take the attachment of a list item to be uploaded to Document Library 1.
- Second list workflow published in Document Library 1 to take the document/file to be attached to a list item in List B
The first workflow would use the "Copy to SharePoint" workflow action. When you configure the workflow action, specify the destination library. Click Save. When you have completed this, save and publish the workflow.
While the second workflow, would use a "Call Web Service" workflow action. When you configure the workflow action, the URL would be; http://servername/sitename/_vti_bin/lists.asmx and the web method to call would be AddAttachment. You will need to populate the XML Schema of this web service. In the XML Schema, xml element of <m:attachment></m:attachment>, populating using [FileData]. Click Save. When you have completed this, save and publish the workflow.