community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Upgrade Alteryx Designer in 10 Steps

Debating whether or not to upgrade to the latest version of Alteryx Designer?

LEARN MORE

V_String: Forced

Alteryx Partner

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?

Highlighted

@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