cancel
Showing results for 
Search instead for 
Did you mean: 

Picking up files having a certain date range

Former Member
0 Kudos

Dear Experts,

I'm doing a simple bypass scenario which doesn't involve any mapping in IR. I have to pick up files from the current date and not the files that have come in before today. Can I use Advanced Selection for Source File ot achieve this? Or is there some other way? How do I achieve it?

Regards,

Merrilly

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Please clarify from where are you picking up the files?

Date range means the time when the file was placed in the perticular location from where you want it picked?

Is the date range part of the content of the file?

Former Member
0 Kudos

Yes the date is part of the filename. I'm picking up these files from the same folder. Currently there are many files with which have the dates before today's date. But I don't want to pick them up. I only want the files having today's date.

Thanks and Regards,

Merrilly

udo_martens
Active Contributor
0 Kudos

Hi Merrily,

of course you could choose a file name like 20081023.txt, but to choose files from today dynamicly is not possible in the standard. You would need to develop an own adapter.

Regards,

Udo

Shabarish_Nair
Active Contributor
0 Kudos

XI doesnt have the option of doing that.

but there is a work around.

use Adapter-Specific Message Attributes in the sender file adapter.

use the attribute Source File Timestamp and build a logic to route the messages to your receiver based on the date in the timestamp.