Hello Experts,
I have the requirement to pick files from a directory of an FTP server, the challenge is that the source folder where I have to pick up the files changes everyday for example:
For current date PO will have to go to pick up files from path /Folder/2020-10-27, tomorrow the files will have to be picked up from path /Folder/2020-10-28 and so on daily.
I´d checked some blogs to achieve this but still couldn't make it, some of them says that is not possible to do it for the Sender Channel.
I have tried to create an UDF for Dynamic Configuration to create the Source Directory path with the current date and put the %Directory% value on the Source Directory but the logs shows that the folder doesn't exists , even I tried with a Java Mapping but I'm still getting the same error it's like PO couldn't understand the dynamic configuration for the Source Directory.
This is the java Mapping that I created, am I missing something maybe?

Is there any other approach to make this possible?
I appreciate your help.
Thanks.
Dani.