Skip to main content

I was wondering how to have a constant value write to a different field in my record using StringReplacer. In the example below, if TIM Number = 89, I would like to have the constant ELITE written into the Meter_Type field.

I think the transformer you want is the AttributeValueMapper


Another option is to use the AttributeManager with conditional values.

Hope this helps.


I was unsuccessful doing this with the StringReplacer, so I ended up using the AttributeManager, setting the value for Meter Type using a Conditional Value for TIM Number defined in the Attribute Value column. FME Support told me that this bug using StringReplacer is fixed in the FME 2017 release.


Reply