Dear all,
I am trying to do the following : I have a yes/no user parameter that determines if additional output files are written or not. At several steps of the workflow, if this parameter is set to 'yes', intermediary files are written (before the final output file).
To implement that, before all the intermediary writers, I put a sampler (to go through the filter with a single feature instead of the > 300'000 features of my data) followed by a TestFilter inside which I test the value of the parameter.
It works but I don't find it very ''elegant''. And as I am new to FME, I was wondering, what would be the more "FMEic-way" to implement it ?
Does a transformer (or something like a junction?) exist which would act as a ''gateway'' and pass the data further downstream ONLY if a certain condition is met ?
Thanks in advance for any information