cancel
Showing results for 
Search instead for 
Did you mean: 

Exclusion mask not working

pranay_aitha2
Participant
0 Kudos

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?

Accepted Solutions (0)

Answers (3)

Answers (3)

Ryan-Crosby
Active Contributor

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

weberpat
Contributor
0 Kudos

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* ?

former_member186851
Active Contributor
0 Kudos

Hello Pranay,

What is the file name configured?