Skip to main content
Solved

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

  • March 1, 2023
  • 1 reply
  • 20 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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

redgeographics
Celebrity
Forum|alt.badge.img+62
  • 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.