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.fmw
This results in translation failure with the error message :
Undefined macro `progname' dereferenced in file e...]
When I run from the command line
fme.exe myscript.fmw --colname "Test1" --progname "valueA"
it works like a charm...
Does anyone know what is happening ? why running my custom transformer from the Main does not ask / recognize the second parameter ?
Should I set something about the parameter of the custom transformer in the parameter managers in the Main ?
I have tried thousands of things (re-writing the customer in a new file from scratch, re-starting FME, and so on). I am getting crazy... If anyone could help, I would be VERY VERY grateful !
Thanks in advance