Skip to main content
Question

Can I // How can I use the AttributeFilter transformer, without _prior_ knowledge of the AttributeValues?

  • September 11, 2023
  • 2 replies
  • 18 views

hermann
Contributor
Forum|alt.badge.img+10

For eksample: Features with the same UUID shall be used later in the workflow. But I don't know what UUIDs will be in the Input data. I can geneate a list of unique UUIDs at runtime and would like to use this list in the AttributeFilter, defining the AttibuteFilter-ports. Would // How would this be possible?

Thank you.

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+64

I do not think this is possible. What you can do is count the number of features grouped by UUID, and redirect features with a _count higher then 1.

 

This can be done using a StatisticsCalculator, group by _uuid, statistics to calculate = Total Count. Complete outputport connected to Tester where _uuid.total_count = 1.


pratap
Contributor
Forum|alt.badge.img+12
  • Contributor
  • September 11, 2023

Hi @hermann​ 

 

Just round-about solution, Hopefully it will help