I’m trying to automatically upload a PDF to DocStar that’s retrieved as part of a third-party process, from within a BPM or Function.
I’m not very familiar with DocStar and the trace I did on manually adding an attachment looks as though it’s missing some important elements – it jumps straight from DocStarFileExistsForTableRow to adding an attachment, even though nothing is returned with details for any attachment.
If I use DocStarUploadFile at that point, it always returns 401 unauthorised. Presumably I’m missing something about the way these Attachment BO methods for DocStar are supposed to be used?