Skip to main content
Released

An 'AND' clause for notification subscriptions

Related products:FME Form

martinkoch
Supporter

A workspace subscribed to multiple notifications, fires on every notification. Effectively the multiple-subscriptions are evaluated as a logic 'OR'. A workspace runs on notification '1' or '2' or '3'.

As described in my forum post the usability of notifications would greatly improve for me if I could evaluate them as 'AND'. A workspace should run when notification '1', '2' and '3' have been given.

With this I could improve the distribution of tasks and workloads in a large transformation process.

e.g.: When the new populationdata is available AND the new boundaries have been processed, I can recalculate the population density.

Please read the linked forum-post for more details about the nature of this idea.

Kind regards, Martin

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.

5 replies

fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • September 13, 2016

Thanks for posting this idea!!

From your description, you need to store the state of the overall workflow in order to proceed logically.

'

The easiest way to do this would be by chaining jobs as per this tutorial:

This is the best solution we have now and I'm curious if this is sufficient and if not, what problems does this approach have?

'

If you reaaaaally want to use the notification service, then you will need to store the state and check if the conditions have been at each stage or regularly. Here is a technique that is quite close to what you could do:

State is stored in the database. It is checked regularly to see if conditions are met. If they are met, then the next step in the process goes on.


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • September 14, 2016
Chaining jobs only works if there is continuous processing and/or one logical controlling process.

 

 

I can think of a couple of scenarios where it would be interesting to have multiple independent notifications trigger a workspace.

 

 

We have a lot of distributed production/worksharing. So a project could have tasks divided among different groups (in different Countries) and task D might require tasks A,B and C to be accomplished.

 

 

Right now we're coordinating in an online dashboard, and I manually trigger task D when I see all prerequisites are available.

 


martinkoch
Supporter
Forum|alt.badge.img+18
  • Author
  • Supporter
  • April 19, 2017

Thanks for your comment, and sorry for responding so late.

Using a master workspace with jobsubmitters requires me to design that master workspace for a specific server environment (and by the nature of the FMEServerJobSubmitter wizzard requires me to be connected to that environment).

I would like to create an parametered deploy package based on the relations I discover. Ofcourse preferably in the new 'project format', but alternatively with a workspace filled with HTTP-callers creating notifications / subscriptions and uploading the workspaces.


rylanatsafe
Safer
Forum|alt.badge.img+13

New for FME Server 2019.0 is the Automations feature, and within it, a tool to Merge data streams together – you can effectively use this tool as an "AND".

For example, in the workflow below, I wait for a technician to upload file to a directory that FME Server is watching. Once that event occurs, it triggers two independent workspaces to run (these will run in parallel if I have enough available FME Engines) – the 'Merge' action waits until both workspaces are complete then sends an email to let me know updates are complete.

'

Note: Screenshot taken with FME Server 2019.0 beta Build 19224.

I encourage you to download the latest FME Server 2019.0 beta and see if this is able to solve workspace chaining woes! We are very keen on feedback to improve this experience, so please get in touch with our Support Team if you have more questions or suggestions regarding the workflow.

---

Please note that this feature is currently included with the beta version of FME Server and its functionality and appearance are subject to change as the product continues to evolve before the official release.

Should this feature or its implementation not address your concerns, related to this Idea posting, please let us know by leaving a comment.

As with all beta features and beta versions of our software, they are not considered production-safe and should be incorporated into your workflows with consideration and testing.


rylanatsafe
Safer
Forum|alt.badge.img+13

Note: FME Server 2019.0 was released on April 2 2019. This idea status marked as Released.


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