Skip to main content
Solved

Custom transformer error in linked mode

  • November 10, 2023
  • 2 replies
  • 24 views

rzrnc
Contributor
Forum|alt.badge.img+2

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...

Best answer by kailinatsafe

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.

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

kailinatsafe
Safer
Forum|alt.badge.img+23
  • Safer
  • Best Answer
  • November 20, 2023

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.


rzrnc
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • November 21, 2023

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.