Skip to Content
avatar image
Former Member

Exclusion mask not working

We are on PI 7.5 and are using SFTP Adapter, When will have to pick up files with two different names from the same folder. there are three posibilites of Filenames, so when we add the Exclusion mask, all the three get processed.

We did check the cache status and also tried full CPA cache. That didnt help.

File Names:

DELOTOUCH0.GI1205TESTD

DELOTOUCH0.GI1206testus

DELOTOUCH0.GI1080testus

Exclusion Mask : DELOTOUCH0.GI1206*

Can you please help?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 15, 2017 at 01:41 PM

    Hi Pranay,

    Your regular expression for the exclusion mask is incorrect because * is a quantifier that means zero or more matches for DELOTOUCH0.GI1206, which does not match the pattern for the file you want to exclude. You can try DELOTOUCH0\.GI1206.* and it will exclude the file that you do not want to pick up. I added the \ character in front of . character because in a regular expression that means any character so if you want it to specifically consider that character it needs to be escaped.

    Regards,

    Ryan Crosby

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 15, 2017 at 10:58 AM

    Hello Pranay,

    What is the file name configured?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 15, 2017 at 12:30 PM

    I assume that there are other files with similar names delivered to the input directory that should be picked up by other channels, right? If that's not the case, could you simply scan for DELOTOUCH0.GI* ?

    Add comment
    10|10000 characters needed characters exceeded