Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

V_String: Forced

DataRangler
8 - Asteroid

Noticed this as an option for data type in the select tool, "V_String: Forced". How does this behave different than an existing change data type to "V_String"?

Can you point me to documentation on this?

1 REPLY 1
patrick_digan
17 - Castor
17 - Castor

@DataRangler The help docs have a lot to be desired on the topic but here it is: https://help.alteryx.com/current/AlteryxSelect.htm?Highlight=forced

 

A select tool only saves to its configuration changes that you make. For example, if my select tool looks like this:

Capture.PNG

the xml configuration looks like this:

Capture2.PNG

I've made no changes, so everything will flow through as unknown. If field1....field5 suddenly changed to type int32 upstream, the select tool will just let them flow through as int32 since the unknown line isn't specifying the data type. If you wanted your select tool to always be string of size 1, then you can change your select tool to forced:

Capture3.PNG

Now the xml has a lot of data to ensure that it will always be type string:

Capture4.PNG

Now if int32 data came through in field1...field5, the select tool will change it to a string.

 

 

Labels