Skip to main content
Solved

Change to reader triggers FME workspace to run automatically


Forum|alt.badge.img+1

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,

Best answer by mark2atsafe

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.

View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

6 replies

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • January 7, 2016

What format is the data?


mark2atsafe
Safer
Forum|alt.badge.img+43
  • Safer
  • Best Answer
  • January 7, 2016

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.


Forum|alt.badge.img+1
  • Author
  • January 8, 2016

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?


mark2atsafe
Safer
Forum|alt.badge.img+43
  • Safer
  • January 8, 2016
aquamarine wrote:

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.


Forum|alt.badge.img+1
  • Author
  • January 11, 2016

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.


Forum|alt.badge.img+1
  • Author
  • January 12, 2016

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?


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