Skip to main content
Solved

Triggering an automation pre 2022.2 ?

  • December 13, 2022
  • 2 replies
  • 38 views

lifalin2016
Supporter
Forum|alt.badge.img+38

Hi all.

2022.2 introduces triggering an automation from a webapp, in addition to triggering automations in numerous ways already defined.

One such triggering is "FME Server Topic notified".

Can I create a workspace, uploading it to FME Server, and have this emit such a (custom) topic, in effect triggering the automation to run ?

If so, I could potentially create a webapp for such a workspace, and achieve the same functionality, couldn't I ?

Alas, there are no immidiate transformers that allows such emission, but workspace FME Server Parameters include FME_TOPIC and FME_TOPIC_MESSAGE. Can they be used for this, and if so, how ?

Or must I resort to using the REST interface ??

Best answer by david_r

I'm not quite sure I understand the question correctly, but you can either use the FMEServerNotifier transformer or the REST API to trigger a topic, which in turn would start any automation attached to the same topic.

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.

2 replies

david_r
Celebrity
  • 8394 replies
  • Best Answer
  • December 13, 2022

I'm not quite sure I understand the question correctly, but you can either use the FMEServerNotifier transformer or the REST API to trigger a topic, which in turn would start any automation attached to the same topic.


lifalin2016
Supporter
Forum|alt.badge.img+38
  • Author
  • Supporter
  • 592 replies
  • December 13, 2022

Ah, so there was a transformer for this. I typed "topic", and got nothing. The transformer naming got me again :-)

I did get it to work with the REST API, but this is much nicer.

Triggering automation in 2020.2 is indeeed possible, and surprisingly easy and straight forward. I even published a simple workspace designed to just post any topic, and I'm using this to trigger the automations in question (I have 4 automations with the same trigger).