Skip to main content
Released

Automations: Ability to pass workspace published parameters through workflow

Related products:FME Flow
  • July 10, 2019
  • 6 replies
  • 106 views

fmelizard
Safer
Forum|alt.badge.img+22

In Automations, in order to use this functionality for workspace job chaining I need the ability to pass workspace published parameters along, as you do with output keys.

In my scenario I would like the output dataset of the first workspace to be used as a source dataset in the second workspace and this needs to be dynamic as my original file will come in from a trigger. For this to work I need to be able to pass attribute values out from the workspace action.

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.

6 replies

Forum|alt.badge.img+2

warrendev
Influencer
Forum|alt.badge.img+28
  • Influencer
  • July 18, 2019

I really would like to see this functionality added!


Forum|alt.badge.img+2

Scenario 2:

My Automation is triggered by a Topic, in this case since the JSON format is not known I must use a workspace to extract these attributes, I would then like to parse these attributes out of the workspace to use in an External Action.

Stems from https://knowledge.safe.com/questions/97102/sending-processed-subscriber-content-from-topic-in.html


david_r
Celebrity
  • August 23, 2019

This would help a lot in message broker-like scenarios. There's definitely demand for it!


Forum|alt.badge.img+2

I am pleased to let you know that in FME 2020 we will be releasing a new FME Server Automations Writer which will enable you to pass Feature Types and their associated attributes out of the Workspace and into the Automations workflow.

When an Automations Writer has been added to your workspace this Feature Type will appear as an additional output port on the Run Workspace node in Automations. All attributes that are received by this writer will appear as Output Keys on that action meaning they can be used on their own or within the Text Editor to populate parameters for following actions.

Scenario 1 - Filter & Job Chain

In this example the first workspace validates the incoming data, however if the data is invalid, this is being stored in an attribute value but the translation does not fail, so I need to be able to perform a Filter Action based on the value of this attribute, rather than relying on the translation status to say whether the Automation can proceed.

'

Once filtered I need to set up a job chain but I need to use the output dataset of the first workspace as the source dataset in the next. In the Process-Data workspace I have used a Feature Writer and can then attach the Summary port, which includes an attribute containing the destination dataset file path, to my Automation Writer. Just like with the Filter I can then set the Source Dataset in my final Workspace to this attribute value.

'

 

Scenario 2 - Parse Topic Message into Email Body

In this example, I set up an FME Server Topic to receive Survey123 details when a form was submitted. I would like to send out this information in an email, but the incoming topic message is stored as JSON, so I first want to use a workspace to parse this data into easily readable attributes that can be used to help form part of the email body.

By connecting an Automations Writer to the JSONFragmenter output I can then use the exposed attributes within the Text Editor in Automations.

'

 

scenario2_2.png

david_r
Celebrity
  • October 22, 2019

This is great news, thanks!