Skip to main content
Question

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


Forum|alt.badge.img

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

takashi
Influencer
  • April 7, 2021

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

Forum|alt.badge.img
  • Author
  • April 7, 2021
takashi wrote:

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings