Skip to main content
Solved

Test multiple FeatureCounters with one Tester

  • December 2, 2022
  • 2 replies
  • 34 views

Hi,

I need to test multiple FeatureCounters with one Tester so that if any of the counters have a value of zero then the test fails. Unfortunately the tests always fails because some of the fields are missing when the counters appear in the Tester's results. The test below is supposed to pass. Is there a way to set this up so that I can get the results that I am looking for?

imageimage.pngimageimage

Best answer by virtualcitymatt

Why not just test if one = 0? You can use the OR instead if AND in this case. Then only features which have a 0 in either if the columns will cause a feature to come out of the passed port.​

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

virtualcitymatt
Celebrity
Forum|alt.badge.img+47
  • Celebrity
  • 2000 replies
  • Best Answer
  • December 3, 2022

Why not just test if one = 0? You can use the OR instead if AND in this case. Then only features which have a 0 in either if the columns will cause a feature to come out of the passed port.​


dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • 627 replies
  • December 5, 2022

You could use a NullAttributeMapper prior to the tester, where you could set the attributes to 0 if they are missing.image