FME Desktop 2022.2
Objective: I want to terminate my workbench if the FeatureJoiner spits out any UnjoinedRight records. So this means, even if there are any Joined records, I want these to also terminate in the flow because there are UnjoinedRight records being caught.
Workflow and Logic:
I have the following set up but it is not working. Notice in the screenshot below, I added a counter to the UnjoinedRight port, and a Tester. If the Tester conditions are met, they Pass and I want the Joined record to move along. If the Tester conditions are not met, then they Fail and I don’t want the Joined records to continue and would like the workbench to Terminate.
Why is the Joined record still continuing, if the Tester conditions were not met (Failed). The value of the _count_unjoined is 1, thus, as per the conditions, they are not met, so then it sends it to Failed and to the Terminator, BUT the Joined record keeps going, which I don’t want. I thought the Tester logic would stop this. Eventually the workbench Fails and terminates but the Joined record still processes and makes it to the end Writer.
Logic:
UnjoinedRight holds 1 count, is it < than 0 ? No, so it goes to the Failed port
UnjoinedRight holds 1 count, is it Null ? No, so it goes to the Failed port
But the Joined record keeps going. Maybe the Tester is not the correct transformer to be used here?
Thank you for your time in replying.