I have a process that creates 3 documents. I want to attach all three documents to the Send Email service but it is only recognising the first in the list. I entered them initially in the following format:
pv!attach1; pv!attach2; pv!attach3
I then created a separate pv and appended all 3 attachments to it and then added this to the attachments. This too only included the first document in the list even though it displays in the process variables as:
"attach1"; "attach2"; "attach3"
Does anyone have any suggestions as to how I can make this work.
Alternately, does someone know how I can get the document id by the document name?
Any suggestions would be appreciated.
Thanks
Irene Best
Discussion posts and replies are publicly visible
1. Use tointeger() function to convert document type to document Id.
2. Construct an array and pass document id's to attachments.
Thanks for that. It works.