Skip to main content

Hi;

I created a very simplified version of my custom transformer.

All it does is find the center point and define the layer name for the future dwg writer.

Attached is a custom transformer and workbench example, where dwg writer creates a dwg file with point in the default layer that come from custom transformer.

When I use the transformer in "linked" mode and start the entire workbench, I get an error.

When I use it in "linked" mode but with the use of feature caching to the transformer, and then I only start the dwg writer with "run to this", then it's ok.

When I use the transformer in "embedded" mode, everything works fine.

The difference in the translation log is in line:

"Using MultiWriter with keyword `PRIMARY_DEST' to output data (ID_ATTRIBUTE is `multi_writer_id')"

in embedded mode and

"Using MultiWriter with keyword `REDIRECTED_DEST' to output data (ID_ATTRIBUTE is `multi_writer_id')" in linked mode.

Note that the transformer was working properly before the upgrade to the new version.

Thanks...

Hello @rzrnc​, thanks for posting! Sorry no one has reached out in a while, were you able to resolve the issue? If not, I think there was a bug in FME 2023.1 where custom transformers were failing to write in linked mode, the error on the issue is very similar to the one you've shared here. I suspect you've hit FMEFORM-29572, which has been resolved in the latest available builds. Can you upgrade and let me know if this resolves the issue? You will need to re-export the custom transformer for the fix to work! Happy to help, Kailin.


Hello @rzrnc​, thanks for posting! Sorry no one has reached out in a while, were you able to resolve the issue? If not, I think there was a bug in FME 2023.1 where custom transformers were failing to write in linked mode, the error on the issue is very similar to the one you've shared here. I suspect you've hit FMEFORM-29572, which has been resolved in the latest available builds. Can you upgrade and let me know if this resolves the issue? You will need to re-export the custom transformer for the fix to work! Happy to help, Kailin.

Hi;

Thanks for the information, everything is fine now.


Reply