Skip to main content
Solved

How use group by on custom transformer?


How add a group by option in my custom transformer? Example:FME_group_by_3

 

 

Another example might be if I put a Counter with local scope starting at 0 inside the custom transformer, then I would like to group by for instance _creation_instance - to get three features out all with _count = 0.

 

In the Custom transformer I see a setting Group by <not set> but I am not able to edit that one (there are no suggestions when opening it). I tried creating a parameter called fme_group_by but that did not work either. How can I do this?

Best answer by ebygomm

Right click on the Group By: Parameter to create a parameter (this is named FME_PROCESS_GROUP_BY by default), then in your main workspace, in your custom transformer you should have an option to set the Group By parameter, e.g.

Capture

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+32
  • Influencer
  • Best Answer
  • August 24, 2020

Right click on the Group By: Parameter to create a parameter (this is named FME_PROCESS_GROUP_BY by default), then in your main workspace, in your custom transformer you should have an option to set the Group By parameter, e.g.

Capture


  • Author
  • August 24, 2020
ebygomm wrote:

Right click on the Group By: Parameter to create a parameter (this is named FME_PROCESS_GROUP_BY by default), then in your main workspace, in your custom transformer you should have an option to set the Group By parameter, e.g.

Capture

Perfect! Thanks @ebygomm​ !


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings