Hi-
I don't believe we have anything in these tutorials or in qRules that would allow adding metadata to the document as it is uploaded to the Document Library. We have this as a future feature but it's not yet available.
qRules provides two options:
-
AttachToSharePointList (or SubmitToSharePointList) - this allows uploading an attachment into the list item. The list item can have more than one attachment, of course.
-
SaveToSharePoint - this allows uploading attachments to a Document Library.
So looking at your goal, I would suggest:
-
upload multiple attachments in a single event and have the attachments saved to the Document library - this sounds like SaveToSharePoint
-
a new record created in the History list for each attachment that was uploaded with a link to the document in the library - SubmitToSharePointList
-
The document in the library would have to have the metadata that associates that document to the correct record - this is where I don't know what to suggest. For now, I'll ask the team to review the feature request.
Hopefully this gets you most of the way to your goal.