Skip to main content
Solved

How to create functions and subroutines in FME

  • January 10, 2019
  • 2 replies
  • 101 views

Hi all. Is it possible, like in traditional programming, to create functions or subroutines in FME, when you have a piece of common FME coding you want to reuse and execute several times from a workbench or from different workbenches i.e logging of certain events or error situations. If so, please let me know, how to do it.

Best answer by thomas_g

There are 3 options:

1. Template Workspaces

2. Custom Transformers (Embedded if used in same Workspace or linked when you want to use them in other Workspaces.

3. If you want to use it in the same workspace and you are working with FME 2018, you can use Bookmarks and collapse them for a good workspace design

 

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

Forum|alt.badge.img

It depends on exactly what you want to do but you could look at custom transformers and potentially looping inside them.


thomas_g
Contributor
Forum|alt.badge.img+12
  • Contributor
  • 13 replies
  • Best Answer
  • January 10, 2019

There are 3 options:

1. Template Workspaces

2. Custom Transformers (Embedded if used in same Workspace or linked when you want to use them in other Workspaces.

3. If you want to use it in the same workspace and you are working with FME 2018, you can use Bookmarks and collapse them for a good workspace design