Skip to main content

I got a feature reader that reads in excel data. If data exists i create points from that data. If data doesn't exist i need to create a point myself based on center of a polygon with "centerpointreplacer" transformer.

 

How can I chose flow based on that scenario? If I can create points from excel then I dont want the centerpointreplacer to run.

There is a custom transformer called the NoFeaturesTester. If you send no features into this, it will output a feature via the Noinput port if no feature is received.

You can also use a FeatureMerger in the following way to do the same thing

Capture 


There is a custom transformer called the NoFeaturesTester. If you send no features into this, it will output a feature via the Noinput port if no feature is received.

You can also use a FeatureMerger in the following way to do the same thing

Capture 

Thanks I will try this in my workspace.


Reply