cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapter - Numerical Wildcard only

Former Member
0 Kudos

Hi all,

I am faced with a scenario using File Adapter.

Suppose the scenario that files are named such as:

sales_order01.xml

sales_order02.xml

sales_order03.xml

and are placed in one directory.

I would like to poll the files that follow the pattern sales_orderXX (where XX is a number).

If I use sales_order**, this will poll even sales_orderab, salesorder0b. In that case it fails the requirement.

Is this possible?

Regards,

Raye

Accepted Solutions (1)

Accepted Solutions (1)

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Raye,

If you want to poll for files sales_order01.xml, then you can just mention the file pattern as sales_order0*.xml

There is also another feature in file adapter called Exclusion Mask, with which you can exclude files which you don't want to pull but which might come under the file pattern which you mentioned in file pattern.

Try this and let me know if you struck anywhere.

Regards

Vishnu

Former Member
0 Kudos

Hi Vishnu,

Yes, I researched that and I think that fits my solution the best. Thanks!

Regards,

Raye

Answers (0)