Hello!
I have a question about the usage of Notifications for FME Server 2016.
I created a Notification with a Publication and a Subscription. The Publication is working and collects the attachments of e-mails in a dedicated folder. From there a Workspace should be triggered to start reading the folder paths, making use of de FileDirectory Reader and process the files that are read. For the triggering of the Workspace a Subscription is created and for some reason, it does not work or does not work all the time. In some cases the restarting of FME Server can help but this is obviously not a solution.
The Workspace that is triggered does not have a JSON-reader. In Tutorials I saw a JSON-reader was part of the solution to trigger a Workspace. In the example parameters of the e-mail were read and would be handy to read for example e-mail parameters. Since these parameters are not needed, as all the information comes from the files read using the FileDirectory Reader, I am using a simple Creator to start the Workspace/Workflow.
There are two aspects that are puzzling for me:
1. When I publish the FME Workspace I choose the JobSubmitterService. I could choose the NotificationService but in my case it does not seem to matter if I make use of this service or not: attempts are unfortunately still in vain for a stable solution. If you click on [edit...] and go to the advanced section you could choose the "Notification Content Format" that can be set either on HTML or (by default) on JSON. As there is no option to choose for no format, would this imply that JSON or HTML code is always needed for the NotificationService?
2. When I test the topic, making use of the empty JSON-string {}, the Workspace will run. This would suggest that the Subscription is functioning.
What could I do to make the Subscription work properly? I would like to be more in control and need some more in depth understanding about the problem.
Any suggestions?
Best Regards,
Jochgem