Question
Are there any special considerations when dealing with custom transformers and FME Flow (formerly FME Server)? Full Guide: FME Flow Troubleshooting Guide
Answer
There are two types of custom transformers:
- Embedded custom transformers are those whose definition is contained within a workspace. The custom transformer can be used within that workspace, but nowhere else. Embedded transformers are coloured green within the workspace.
- Linked custom transformers are those whose definition is contained within a separate .fmx file. Such a file enables the transformer to be used in multiple workspaces; for example by emailing them to other FME users, or by placing them in a shared directory. Linked transformers are coloured cyan within the workspace.
Q: If I upload a workspace to FME Flow which contains an embedded transformer is that transformer available to the workspace on Flow?
A: Yes. If the custom transformer is an embedded transformer, it is self-contained within the workspace - all you need to do is publish the workspace to FME Flow and it will work.
Q: How do I upload my linked transformers up to FME Flow?
A: Visit this step-by-step guide for full instructions.
Q: What happens if there are two definitions of the same custom transformer, one in the repository directory the other in the shared directory?
A: FME Flow will always try to find the transformer in the in FME_SHARED_RESOURCE_DIR first. If this is not there, then it will look for the transformer defined in the repository resource directory.
Comments
1 comment
In my organization we are looking at starting to use Custom transformers and share them in a shared folder. Is it possible to somehow put that foilder somewhere where Flow can access it, and thus make it so that Flow always reads linked custom transformers from that place? My line og though is to make it so that a change in a custom transformer in the shared folder automatically is transfered to all the scripts on Flow using that CT.
Thanks!
Please sign in to leave a comment.