Skip to main content
Solved

I am trying to use the transformer TestFilter with FME Desktop 2020. BUT . . . I do NOT have a list of logic statements under the logic column. My lecturer has a long list, but when I click on the box, I have only one option NOT. All others are mis

  • August 22, 2020
  • 3 replies
  • 22 views

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?

Best answer by fme-phile

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

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

fme-phile
Forum|alt.badge.img+1
  • Best Answer
  • August 22, 2020

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


mark2atsafe
Safer
Forum|alt.badge.img+59
  • Safer
  • August 24, 2020

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.


  • Author
  • August 25, 2020

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