Skip to main content

I want to trigger a FEATUREREADER to run only if there are records that pass a tester. But I don't want to pass all the records to the FEATUREREADER, only trigger the reader to start. The passed tester records will be used in a different transformer but I also want to trigger the reader to start if there are any records that pass the tester. What is the best way to accomplish this?

 

Thanks,

 

David

Hi @dkirouac​ , you can use the Sampler to pick the first (or the last) one feature in the passed features then kick the FeatureReader.

 

  • Sampling Rate: 1
  • Sampling Type: First N Features

Hi @dkirouac​ , you can use the Sampler to pick the first (or the last) one feature in the passed features then kick the FeatureReader.

 

  • Sampling Rate: 1
  • Sampling Type: First N Features

Thank you takashi. I will give it try.


Reply