Skip to main content
Solved

About the difference of column values initially and count of same column values after filtering.


Hello all,

I would like to know about the difference between the count of values of one column initially while reading and count of values of the same column after filtering. If difference between the count of values is same then ​we will send an email. so how can we achieve this in fme

Best answer by hkingsbury

flipping the problem around (at least how i'm interpreting it), you're wanting to see if your input data contains a certain value, if that value doesn't exist, then you want to send an email.

 

Simpliest way is to pass you input data through your filtering logic. The right at the end place a nofeaturetester. if a feature comes through you filtering logic, it will come out the output port. If no feature(s) make it through the filtering logic then there will be a blank feature come out the noinput port. you can then tie this into your logic to send an email

View original
Did this help you find an answer to your question?

2 replies

hkingsbury
Celebrity
Forum|alt.badge.img+54
  • Celebrity
  • Best Answer
  • February 23, 2023

flipping the problem around (at least how i'm interpreting it), you're wanting to see if your input data contains a certain value, if that value doesn't exist, then you want to send an email.

 

Simpliest way is to pass you input data through your filtering logic. The right at the end place a nofeaturetester. if a feature comes through you filtering logic, it will come out the output port. If no feature(s) make it through the filtering logic then there will be a blank feature come out the noinput port. you can then tie this into your logic to send an email


hkingsbury wrote:

flipping the problem around (at least how i'm interpreting it), you're wanting to see if your input data contains a certain value, if that value doesn't exist, then you want to send an email.

 

Simpliest way is to pass you input data through your filtering logic. The right at the end place a nofeaturetester. if a feature comes through you filtering logic, it will come out the output port. If no feature(s) make it through the filtering logic then there will be a blank feature come out the noinput port. you can then tie this into your logic to send an email

Thank you,this has helped me. It solved my issue!​


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