Skip to main content
10000+ Posts
Custom transformer with > 1 user parameter and UNDEFINED MACRO translation failure

Dear All, I am facing the following very weird issue. I want to test for several attributes if, for each of them, there are some features that contain a specific value.To do that, I have created a Custom Transformer that takes as input 2 user parameters (defined exactly in the same way, published and required) : 1) colname = the name of the attribute ; 2) progname = the value to test if the feature is equals to. When I go back in the Main, right-click on the custom transformer > Properties, in the prompt I can see well the 2 user parameters (colname, progname). But when I click on "Run to this" custom transformer, the prompt only asks for 1 of the 2 parameters (always 'progname', even if I switch the order of the parameters in the parameter manager of the custom transformer). In the Translation log, I see that the following command line is run :fme.exe myscript.fmwThis results in translation failure with the error

Badge Winners

  • FME Form Basic Training
    aschiestlhas earned the badge FME Form Basic Training
  • Student (Grey)
    franb2289has earned the badge Student (Grey)
  • Welcome Back
    stjhas earned the badge Welcome Back
  • I Get a Buzz From Geodatabase
    PierreAtSafehas earned the badge I Get a Buzz From Geodatabase
  • Expert (Grey)
    PierreAtSafehas earned the badge Expert (Grey)
Show all badges

Community Stats

32,347
Posts
122,989
Replies
40,420
Members