Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Mail - File Selection

  1. #1

    Default Mail - File Selection

    I've followed the directions on the following post but do not understand the syntax on one thing. http://forums.pentaho.org/showthread...ht=files+email

    The syntax I'm using for the Argument in the Transformation must be incorrect when using a repository. I'm using
    ${Internal.Transformation.Filename.Directory}\Trans - Set File but still getting two attachments instead of one (see the attached pdf for pictures).

    Any ideas would be appreciated.

    Thanks,
    David
    Attached Images Attached Images

  2. #2

    Default

    Hi,

    You have to filter files on "Get filename Names" step by using wildcard (.*xls for Excel, .*txt for textes,...)
    Then just send it to "Set files in result".
    Next just select "General" in mail attachment.

    That's it...no need to use arguments here :-)

    Rgds

    Samatar
    Samatar

  3. #3

    Default

    Ah..another thing,
    depending on you PDI version, you have job entries to interact with result filenames :-)
    no need to use transformation.

    Samatar
    Samatar

  4. #4

    Default

    Finally figured this out!

    In a previous transformation within the main job I had an "Access Input" step and within that step had set "Add filename to result". Anyway, that was it. Unchecked that option and now only get the Excel file.

    Thanks for the thoughts!
    David

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.