Condition for Foreach Loop Container

  • hi,

    Please tell me if it is possible to tell foreach loop container what file to process

    base on the file name? if it is , how please? -

    Thanks so much

  • Hi Emma,

    It is indeed possible mentioning the file name in Collection in the foreach Loop editor.

  • i got the evaluation expression as below in the Collection editor

    RIGHT( @[User::lacarefilename] ,7 ) !="HFF.csv"

    The package is not supposed to process because in that folder i only have

    one file testHFF.csv, However it does and fail ... strange..

  • Emma-239540 (5/24/2010)


    i got the evaluation expression as below in the Collection editor

    RIGHT( @[User::lacarefilename] ,7 ) !="HFF.csv"

    The package is not supposed to process because in that folder i only have

    one file testHFF.csv, However it does and fail ... strange..

    The 'package' will still process, but the Foreach loop should not execute. Is that what you meant? What fails?

    The absence of evidence is not evidence of absence
    - Martin Rees
    The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
    - Phil Parkin

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply