Solved

Automate running workspaces when date in folder and files change....

  • 1 March 2023
  • 1 reply
  • 1 view

Badge +9

All

I am having trouble automating some workspaces as the data and folders that I receive are containing dates in the format MMMYYYY as shown below...

\\\\server\\FMEData\\DataDownloads\\Supplier\\Data\\Data\\Name_Mar2020

 

The files are supplied as shapefiles and they are also named Name_Mar2020.shp etc

How can I automate the running of these workspaces for when the folder or file name changes to the next month?? I have tried using the * in various places, but to no avail and don't want to have to run these manually

I know this is something obvious, but just cant figure it out...

 

Regards

 

 

icon

Best answer by redgeographics 1 March 2023, 21:43

View original

1 reply

Userlevel 5
Badge +25

Have you tried a Directory Watch trigger in an automatation? You can have that check subfolders as well and since the name of the file that triggered it will be sent along in the message you don't have to worry about the changes.

The first part of the FME Academy module Build Versatile Automations actually covers a directory watch in combination with shapefiles so you can use that as an example.

Reply