Skip to main content
Question

Is this possible with FME

  • April 11, 2018
  • 2 replies
  • 12 views

Forum|alt.badge.img

Hi,

Is there a way to add transformers based on a list of variables. Like: for each of the variables in a list, run all the data through a defined set of transformers, and with each iteration change what those transformers do based on the variable?

Thanks!

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

davideagle
Contributor
Forum|alt.badge.img+22
  • Contributor
  • April 11, 2018

You can't dynamically add transformers, but you can test for your set of variables and then send certain features (or all) down a specific path in the workspace to a specific set of transformers or to a specific custom transformer. Normally you'd do this with some sort of Test (Tester, AttributeFilter, TestFilter etc) to identify the route and then each port of the test is directed to the relevant set of transformers.


redgeographics
Celebrity
Forum|alt.badge.img+62

I agree with @1spatialdave. If you can tell us a bit more about what you're trying to achieve we're probably able to give you some more detailed advice.