Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Macro Output is truncating data

oneillp111
9 - Comet

I have a macro that is truncating the output for a column

 

When I run the macro alone I get this output 

 

oneillp111_0-1680104500904.png

But then when I run the macro in the parent workflow I get this

oneillp111_1-1680104652604.png

column 2 for the specific cell is getting truncated somehow, fields are V_WSTRING set to 255 characters, I cannot seem to find out why this is happening

7 REPLIES 7
binuacs
21 - Polaris

@oneillp111 Can you change the data type to V_String and try again?

SPetrie
13 - Pulsar

Is column 2 being created inside the macro or is it being passed in and then altered?

If its not being created inside the macro, what is its data type and size before it goes into the macro?

oneillp111
9 - Comet

@binuacs as v-string, same result

oneillp111_0-1680105395481.png

 

oneillp111
9 - Comet

@SPetrie, column is created inside the macro

binuacs
21 - Polaris

@oneillp111 Are you getting the same issue when you run with a different input file?

oneillp111
9 - Comet

always happens, its like the field is set to a specific length somewhere But I cant find it

binuacs
21 - Polaris

@oneillp111  if possible share your macro and workflow with input file else create a new macro and try again to see you are getting the same error or not 

Labels
Top Solution Authors