Workflow Soluiton

 View Only
  • 1.  Question about finding files and attached them to an email

    Posted Feb 11, 2010 05:17 AM
    Hi,
    My challange is to find a pdf file in a folder, get the name of that file and attached it to an email. My problem now I'm able to find the file but I don't able to get the name of it and attached the file to an email.
    Does anybody know how to do it?

    Thanks for your answer.
    Ray


  • 2.  RE: Question about finding files and attached them to an email

    Posted Feb 11, 2010 09:11 AM
    When you find the file, you should use a Read File component to place the file on the stream as a FileDataType element. That way, it'll be available to be attached to emails (I believe attachments in the Send Email component expect FileDataType elements).

    PS. The FileDataType exposes the name of the file (as well as the contents, etc.)



  • 3.  RE: Question about finding files and attached them to an email

    Posted Feb 15, 2010 01:30 PM
    Hi reecardo
    Thank you for your tips. It works now.