How to automaticaly select last file in folder

e-wachelder
e-wachelder Registered Posts: 1 ✭✭✭

In a folder Dataset, files with timestamp in name are uploaded. How to automaticaly select the last (by name) file only as input for the flow?

I tried partioning and choosing latest as selector, but if using in a prepare block, a prompt would ask for an explicit partition and not automaticaly select the last.

EDIT: worked after deleting prevously created datasets and using the sync block, as described in : https://community.dataiku.com/t5/Using-Dataiku-DSS/Question-on-automating-folder-with-multiple-files/m-p/7846

Setup Info
    Tags
      Help me…