Skip to main content
Solved

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

  • March 1, 2023
  • 1 reply
  • 8 views

ingalla
Contributor
Forum|alt.badge.img+10

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

 

 

Best answer by redgeographics

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.

View original
Did this help you find an answer to your question?

1 reply

redgeographics
Celebrity
Forum|alt.badge.img+49
  • Celebrity
  • Best Answer
  • March 1, 2023

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings