Skip to main content

Hi,

I was wondering if it is possible to trigger an FME workspace to run automatically if there has been an edit to a Reader feature?

I thought maybe the FMEServerNotifier transformer but don't think it is the right method..

Thanks,

What format is the data?


On Server, I would use the File/Directory watch notification. Then if the date changes on a file in the directory the notification can trigger a workspace.


Thanks Mark. I have tried the Directory Watch in Server and it is working :)

However, I am having trouble with setting notification emails. I have set the Directory Watch to "Modify" but when I make one small change to the dataset (an Access Database) I receive a non-stop flow of emails saying it was changed successfully. I am getting an email almost every second even though I only made one change to the data. I set the Minimum Time Elapsed to 120 seconds and did not use a UNC filepath but that didn't seem to fix it. Any ideas why this might be happening?


Thanks Mark. I have tried the Directory Watch in Server and it is working :)

However, I am having trouble with setting notification emails. I have set the Directory Watch to "Modify" but when I make one small change to the dataset (an Access Database) I receive a non-stop flow of emails saying it was changed successfully. I am getting an email almost every second even though I only made one change to the data. I set the Minimum Time Elapsed to 120 seconds and did not use a UNC filepath but that didn't seem to fix it. Any ideas why this might be happening?

It sounds to me like you are using the same topic for two different actions, e.g. directory watch and sending email. So sending email triggers the same topic as directory watch, which sends another email, which triggers the topic, which sends another email, which.... etc

i.e. I think you've got a notification loop going on. Turn on the monitoring tool and it will show you what is happening. Check the topic names and make sure you don't use the same one twice.

Otherwise I can't see a reason why directory watch wouldn't stop sending notifications. But I guess it could be a bug, so contact our support team (safe.com/support) if the topics look OK and it continues to be a problem.


Hi Mark, I was using the same topic for both Directory Watch and Email Notifications. I tried creating a new topic for Email Notifications, but the same thing still happened and I received non-stop notification emails. I will contact the Safe Support team.


Actually after some experimentation with other file formats, I believe that the issue is related to the fact that I am modifying an Access Database. Everytime I edit the database a lock file appears and I think that this is causing the endless email notifications.... Any ideas on how to overcome this?


Reply