Skip to main content
  • 10000+ Posts
  • 53,364 Replies
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

  • Expert (Grey)
    asellars_hdrhas earned the badge Expert (Grey)
  • Express Delivery
    crutledgehas earned the badge Express Delivery
  • Online Training
    txred75has earned the badge Online Training
  • Welcome Back
    misszl0905has earned the badge Welcome Back
  • Online Training
    finethas earned the badge Online Training
Show all badges

Community Stats

32,410
Posts
123,185
Replies
40,517
Members