This content has been marked as final. Show 5 replies
use one of the document object function called setDocumentAttribute. This function takes the document,the attribute to set,attributeProperty
so to set the filename of the attachment you would use
The document functions can be found in the xpath builder in workbench
Any further question do let me know
Thanks for reply.
I tried using setDocAttribute but it does not work. I tried with different attribute name like "filename", "name", "file", all does not work.
I use the setDocAttribute on a document variable type before I attach the document to the user service operation.
The attribute name is "wsfilename"
SetDocAttribute returns a document object,after you use the setDocumentAttribute add the returned document to a listOfDocuments, then pass this into the user service,you can mail me the process email@example.com
I can take a look
Thank you very much WorkflowUser, I have tried what you suggested and it works. My initial fault is because I used a string variable as the return for the setDocAttribute.
you are welcome,just happy was able to help you