Question

Run FEATUREREADER only if records pass testers but don't pass records to FEATUREREADER.

  • 7 April 2021
  • 2 replies
  • 13 views

Badge

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


2 replies

Userlevel 2
Badge +17

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
Badge

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