Skip to main content

I am being trained in FME by my university. I am trying to use the transformer TestFilter with FME Desktop 2020. BUT . . . I do not have a list of logis statements under the logic column. My lecturer has a long list, but when I click on the box, I have only one word to choose from "NOT". I do not have OR or AND, etc.

 

How can I get FME to offer these logic words?

Hi @tonyv​ 

When using the 'TestFilter' transformer, you will only have a few logic values to choose.

Image1

It's not until you add another test clause where you will have more options

In the example below, I required the 'four_wheel'drive_tracks' and the 'vehicular_tracks' to be grouped together and pass through the Output port which I have called 'Tracks' therefore have used the logic 'OR'

Image2

Hope this helps


I suspect the AND and OR clauses only appear once you have more than one clause defined. If you only have one clause, like a = 5, then there is no AND/OR possible. But if you have a=5, b=7, now you can start to add AND or OR.

Also note that you can type into the Logic field, so you can type AND, OR, NOT, and any brackets you might need, without selecting them from the list.


I suspect the AND and OR clauses only appear once you have more than one clause defined. If you only have one clause, like a = 5, then there is no AND/OR possible. But if you have a=5, b=7, now you can start to add AND or OR.

Also note that you can type into the Logic field, so you can type AND, OR, NOT, and any brackets you might need, without selecting them from the list.

Thank you very much for this reply. Yes I now realise my lack of knowledge is the problem rather than a software issue.

Thank you again

Reply