Skip to main content

I have a workspace that's reading in some data and I've added a counter after it. The Counter is giving me some valid count numbers, but a lot of the attribute are a weird string like this: 

`@Value(__fme_ft_return_valuebbc4ad18-5750-4f14-a514-caca849d5cc2)'

Hi @fmelizard

 

 

This is a bug with the Counter that we're seeing in FME 2019 (observed a few times after Excel readers).

 

 

This has been tracked in issue FMEENGINE-61413. If you encounter this issue please raise a support ticket here.

 

 

To workaround this issue you can add another transformer in front of the counter, like an AttributeKeeper.

 

 

You could also try using the Count() FME function inside an AttributeManager which will start counting from 0. If you want to start counting from 1, use the Arithmetic Editor and enter @Count()+1 like this:

 

 

 


This problem with the Counter is now fixed in FME 2019.2.3.1, build 19823 and also recent 2020 beta builds.


I can find a workaround by adding a FeatureHolder before the Counter


The workaround with the FeatureHolder worked for me, but the problem was (in my case) at the beginning of the workspace. The name of an attribute ends with a blank ("Adresse " instead of "Adresse"). Once the data was corrected, the Counter worked fine.


Reply