Skip to main content

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. 

 

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.


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


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


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?


Yes


Reply