Skip to main content
Solved

FME Desktop 2022 Build 22304: How to get an esri feature class generated in case the number of passed filtered features are zero (no features are filtered)?

  • March 28, 2022
  • 2 replies
  • 11 views

jamal
Forum|alt.badge.img+5

FME Desktop 2022 Build 22304: How to get an esri feature class generated in case the number of passed filtered features are zero (no features are filtered)?

 

For example, in the screenshot below, no passed features are filtered as an output for the tester transformer. How to get this result reported in an esri feature class stored in file geodatabase? Currently, no feature class is generated in case no features are filtered

 

 

Clip_33 

 

Best answer by redgeographics

There's a NoFeaturesTester custom transformer that you can use, between the Tester and your writer feature type.

If there's nothing coming out of the Tester the NoFeaturesTester will output a feature that you can use to trigger the writer feature type. However, that does mean that there will be an empty feature going into your feature class.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3699 replies
  • Best Answer
  • March 28, 2022

There's a NoFeaturesTester custom transformer that you can use, between the Tester and your writer feature type.

If there's nothing coming out of the Tester the NoFeaturesTester will output a feature that you can use to trigger the writer feature type. However, that does mean that there will be an empty feature going into your feature class.


jamal
Forum|alt.badge.img+5
  • Author
  • 342 replies
  • March 28, 2022

It works fine. Thank you for the hep

 

Clip_317