Skip to main content
Question

Expert Notes: Data-Aware Transformers in 2020.1

  • October 14, 2020
  • 5 replies
  • 56 views

LizAtSafe
Safer
Forum|alt.badge.img+17

New for FME 2020.1 is data-aware transformers. When data is cached via Run with Feature Caching, the attribute values can be retrieved from within specific transformers. Retrieval of these values will prevent any data integrity issues that occur with spelling mistakes and makes the workflows faster as you don’t need to keep viewing your data to get the value you want to test for or expose. 

 

This feature is currently available in the Tester, TestFilter, AttributeExposer, and anywhere that test clauses are used. 

 

How to Use this Feature

1. Ensure that you have FME Desktop 2020.1 or later installed. Then read in your data. Run the workspace with feature caching enabled. This step is key! 

 

ReadData

 

2. Add a Tester, TestFilter, AttributeExposer, or any other transformer that uses test clauses. Once connected, open the parameters. In the parameters, select the Left Value attribute. For this example, I’m using Common Name. Then select your Operator. 

 

To retrieve the cached attributes, click on the drop-down arrow for Right Value, then select Cached Values. If there are only a few values for the attribute, a drop-down list will be available. If there are lots of values, a popup list will appear. 

 

CachedValues

 

Then select the value you want to test for. 

SelectValue

 

Once the value is selected, click OK to create another test or click OK again to accept the parameters. 

 

3. You can continue to build your workspace as normal. To use this feature again later in the workspace, remember to run with feature caching up to the point where the transformer is about to be added. 

 

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.

5 replies

Forum|alt.badge.img+2
  • 194 replies
  • October 14, 2020

Very handy!

 

Any thoughts on adding this feature to transformers like the AttributeFilter? It would be very nice to have lists to choose from vs. importing a sheet or typing them in.


virtualcitymatt
Celebrity
Forum|alt.badge.img+47
  • Celebrity
  • 2000 replies
  • October 14, 2020

Really love th​is feature. Great addition - I make waaay to many typos and this will be a lifesaver


fgiron
Supporter
Forum|alt.badge.img+25
  • Supporter
  • 92 replies
  • October 20, 2020

This is something FME newbies always ask for in Basic FME Desktop training courses. Now I finally can answer that it's coming :-)


rwhittington
Contributor
Forum|alt.badge.img+2
  • Contributor
  • 14 replies
  • November 21, 2020

This new Cached Values feature is a big time saver and works great on Exposer and Tester. Great work Transformer team . Any thing in the works for same functionality on AttributeValueMapper AttributeFilter?


fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • November 22, 2020

Yes