Skip to main content
Question

Custom Transformer Parameter not being set

  • April 23, 2013
  • 1 reply
  • 11 views

Forum|alt.badge.img
I am using FME 2011 and having a problem passing through a calculated expression to a published parameter in a custom transformer.   Here is what i am doing (which is not working).

 

 

in my main workspace i have 2 published parameters that are used to compute a new value (i.e. param1*param2).    I use the parameter fetcher to grab the 2 parameters, and then the expression builder to compute the new attribute.    I then set this to a published parameter in a customer tranformer.  In this custom transformer, this parameter is linked directly to one of the parameters in the Generalizer tranformer.  When i run i get an immediate crash saying that the Generalizer cannot covert a null string.   When i look at in the inspector, i see my new computed value set to @value(newexpressionattribute) when it shoudl have an integer that was computed (i.e. param1*param2).

 

 

I am sure it is something simple.  Any help would be appreciated.

1 reply

takashi
Influencer
  • April 23, 2013
Hi,

 

 

Check whether the 'newexpressionattribute' has been given to each input feature as an attribute before going into the custom transformer.   Takashi

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings