Skip to main content
Solved

How do I stop ChangeDetector running if no features going into Revised?

  • June 26, 2025
  • 2 replies
  • 64 views

brandonguo
Contributor
Forum|alt.badge.img+4

Occasionally the upstream service from external provider might not retuning any features, in those cases, there will be 0 features going to the “Revised” stream. How do I stop ChangeDectector instead of keep running and delete existing features.

  

 

Best answer by _jacques_

You could probably do something with the NoFeaturesTester transformer from the Hub, published by Safe Software. I quickly put together a demo using a NoFeaturesTester together with a FeatureMerger set to merge 1 = 1. If there are no features entering the NoFeaturesTester, then there will be a single feature going up to the FeatureMerger, which will stop the features from reaching the ChangeDetector.

 

Good luck!

/Jacques

 

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

_jacques_
Supporter
Forum|alt.badge.img+18
  • Supporter
  • Best Answer
  • June 26, 2025

You could probably do something with the NoFeaturesTester transformer from the Hub, published by Safe Software. I quickly put together a demo using a NoFeaturesTester together with a FeatureMerger set to merge 1 = 1. If there are no features entering the NoFeaturesTester, then there will be a single feature going up to the FeatureMerger, which will stop the features from reaching the ChangeDetector.

 

Good luck!

/Jacques

 


brandonguo
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • June 29, 2025

@_jacques_  Thanks, works perfectly.