Skip to main content
Solved

Custom transformer error in linked mode


rzrnc
Participant
Forum|alt.badge.img+2
  • Participant

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.

View original
Did this help you find an answer to your question?

2 replies

kailinatsafe
Safer
Forum|alt.badge.img+19
  • 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
Participant
Forum|alt.badge.img+2
  • Author
  • Participant
  • November 21, 2023
kailinatsafe wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings