5 Replies Latest reply on Jan 16, 2008 8:35 PM by (WorkflowUser)

    Rename attachment filename

    Level 1
      Hi,

      I have a watched folder that read a pdf file into document variable in a workflow. In the workflow, the document is copy to an attachment. The problem is that, the filename of the attachment is alway "attach0". How can i change the filename before attach to the workflow?

      I tried setDocAttribute with attribute name "filename", "name", or "file". None of them work.

      Thank you for any help.