Skip to main content
Question

How to Identify Custom Transformer Instances and Their Enabled/Disabled Status in FMW Reader”

  • September 11, 2026
  • 6 replies
  • 78 views

gogopotter90
Contributor
Forum|alt.badge.img+14

I’m using FMW Reader to read and analyze FME workspaces, and I have a question about custom transformers.

There is an attribute called Custom Parent Name. When this field exists, it shows me the connection to the custom transformer inside it. However, how can I determine whether that specific custom transformer is enabled or disabled in the main FME workspace?

For example, suppose an FME workspace contains multiple instances of the same custom transformer, such as:

  • LineDivider

  • LineDivider_2

  • LineDivider_3

The Custom Parent Name attribute may contain only LineDivider, without the _2 or _3 suffix.

In this case, how can I distinguish which specific instance of the custom transformer the connection belongs to?

More specifically, how can I reliably identify:

  1. The exact instance of the custom transformer in the main workspace.

  2. Whether that specific instance is enabled or disabled.

  3. The relationship between the transformer instance and its Custom Parent Name, especially when multiple instances of the same custom transformer exist.

6 replies

carlm
Supporter
Forum|alt.badge.img+23
  • Supporter
  • September 14, 2026

Not sure I understand the question completely, but can’t you use the transformer_enabled attribute when reading a FMW, it’s in the Transformers feature type? Or are you refering to the Transformers inside of a Custom Transformer?
 

 


gogopotter90
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • September 14, 2026

Thanks for your reply.

For a transformer, you can see whether it is enabled or disabled from the attributes. However, when you check the Custom Transformer Parent attribute, the problem is that it doesn’t show the instance name, such as LineDivider_2 or LineDivider_3. It only shows LineDivider.

For example, if you have three custom transformers:

  • LineDivider

  • LineDivider_2

  • LineDivider_3

and LineDivider_3 is disabled, you cannot determine which specific Custom Transformer Parent is disabled because all of them are shown simply as LineDivider.

You could create a small workspace with a LineDivider custom transformer and then copy it one or two times. After that, you could check how the FMW Reader reads these custom transformers.

All of them will probably be identified as LineDivider. In custom transformer parent attribute  My question is: if one of them is disabled, how can I determine which specific instance is disabled?

 

About transformers inside custom were easy to get ,I have no problem with it .

 


carlm
Supporter
Forum|alt.badge.img+23
  • Supporter
  • September 14, 2026

Ok I checked and I see what you mean, from what I see there’s only 1 line for the transformer present in the Custom Transformer since technicaly the transformers are only present once in the custom, and you reuse the custom to have to repeat yourself. You need to assume that the Custom Transformer contains those transformers in it, the Transformer in custom don’t show as disabled if the Custom is disabled, they show disabled in the list if they are actually disabled in the Custom.


DanAtSafe
Safer
Forum|alt.badge.img+23
  • Safer
  • September 14, 2026

​@gogopotter90 I do see the instance name and which are enabled:

However, if the FME being read has more than 1 custom transformer and the transformer_name (instance name) doesn’t resemble the custom_transformer_parent_name then there’s no way to reference those instances with the parent custom transformer.


gogopotter90
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • September 15, 2026

​@DanAtSafe 

This is my main issue. As in your screenshot, you have an AggregateFilter transformer inside the Custom Transformer. I need to identify which specific Custom Transformer instance it belongs to — whether it is LineDivider, LineDivider_2, or LineDivider_3.

This is important because if the AggregateFilter is inside a disabled Custom Transformer, then it is effectively useless for me. I only want to process/reference transformers that belong to an enabled Custom Transformer instance.and I could not distinguish which linedivider is linedivider 2 or 3 in custom parent name and custom parent name show us only linedivider , but one of them is linedivider,linedivider_2,linedivider_3 .

Is there a way, perhaps using a PythonCaller to determine the specific Custom Transformer instance that each child transformer belongs to?


carlm
Supporter
Forum|alt.badge.img+23
  • Supporter
  • September 15, 2026

​@gogopotter90 
You can’t know, because they are all the same, that’s why you create or use a custom transformer, to reduce the numbers of transformer in your workspace. In your case you need to “attach” the fact that all the transformer that are in your custom_transformer_parent_name are in each of your LineDivider, if your LineDivider is Disabled it means that for this instance all of the transformer are not active, but they are still active for all the others, but they are the same transformers.
If you have 3 times your LineDivider, it means you have 3 times a reference to the same transformers.