Hi,
I'm able to initiate a workflow through LAPI, However, I'm having issues trying to add a new document to the attachments section of the new workflow.
I can get the attachments folder id by using when looping through the workflow packages: "UserData")
However, whenever I try to adding the new document using:
I cannot see the new document in the workflow attachments...... the doc was added successfully to Livelink and if I do a nickname seach for the attachments folder, the attachments section is there. .... just not in the new workflow. It's like the AttachmentsFolderID that I get above is for some other workflow. Any ideas?????
docs.CreateObjectEx(VolumeID, folderID, LAPI_DOCUMENTS.OBJECTTYPE, LAPI_DOCUMENTS.DOCUMENTSUBTYPE, docName, createInfo, objectInfo)
AttachmentsFolderID = wfPackage.toValue(x).toInteger(