Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: get filename that contains substring pentaho

  1. #1

    Question get filename that contains substring pentaho

    I'm using the "Check if a folder is empty" step. What I need is to check only the files where the filename contains a substring with Regex.
    How can I achieve this?
    Thanks!

  2. #2
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    Job entry Check-If-A-Folder-Is-Empty tests the absence of certain (or all) files.
    That means if you use the pattern .+\.kjb on folder ${Internal.Job.Filename.Directory} the result would be FALSE because most certainly your job will find itself.
    So long, and thanks for all the fish.

Tags for this Thread

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.