Skip to main content
Solved

How use group by on custom transformer?

  • August 24, 2020
  • 2 replies
  • 443 views

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

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.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+45
  • 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

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​ !