Skip to main content
Question

Pass a derived variable from SQLCreator to be used as the feature class name for the FeatureWriter

  • January 29, 2026
  • 2 replies
  • 19 views

ejrcarson
Contributor
Forum|alt.badge.img+2

Hi,

I would like to know how to pass a dynamic variable to the FeatureWriter that is generated in the SQLCreator at the start of the process.

 

If I explicitly write the name of the feature class name it works, if I try a pass the table name identified in the SQLCreator it fails, it looks like it is passing an empty string as the name

Below is a screen shot of the table_name variable being used. 

 

Below is a screen shot of the name being written, this works.

Thanks for any assistance.

Elliott

 

2 replies

ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • January 29, 2026

On the feature reader do you have Accumulation mode set to merge initiator and result?

If you haven’t got this set, the table_name attribute won’t be populated on the data coming out the generic port


ejrcarson
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • February 3, 2026

Hi Ebygoom,

I’m not sure where you set the accumulation mode?

I did add the File GDB as a connection that allowed me to use it as a schema source in the Dynamic Schema Definition and made sure to check dynamic in User Attributes.

This works for the use of Truncating Existing, but not for Create If Needed table handling.

 

Regards,

Elliott