Skip to main content
Solved

How to stop a workspace when a tester fail?

  • April 13, 2017
  • 3 replies
  • 323 views

Forum|alt.badge.img

Hello!

I have two features set that i want to check if they have the same geometry. I am using a tester to do that check.

My question is: how can i make the workspace halt if the tester fail? Is some sort of transformer or parameter that stop the running workspace if a tester fail?

Thanks for your help!

Best answer by ciarab

Add a terminator transformer after the failed port that will do the trick

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.

3 replies

Forum|alt.badge.img

If there is nothing attached to the 'failed' output port, then the workspace should stop at that point.

However, if any of the features are making it through the 'passed' output port, that is what will trigger the next transformer/writer

 


ciarab
Contributor
Forum|alt.badge.img+9
  • Contributor
  • Best Answer
  • April 13, 2017

Add a terminator transformer after the failed port that will do the trick


Forum|alt.badge.img
  • Author
  • April 13, 2017

@ciarab Thanks, that is what i was looking for.

@david_whiteside on the test not all features are failing, only some. What i want is stop if is any fail. Thanks!