I'm trying to find a solution for -
From a list of files, that has date in the filename, one of them need to be selected based on the latest date.
Get Files --> Sort --> JavaScript
the Get Files retrieve all the files, Sort by descending order (to identify the top one as the latest one) and the JavaScript to get the actual filename with the latest date on it.
The problem I am facing here is - how to retrieve the one filename from the Sort step. I tried to use 'Select Values' and 'Copy rows to result' and none of them work.
filename.getString() doesn't seem to give only one file name out of the bunch of files in that group.
Please help....


Reply With Quote