Hi,
I have flow with an Submit Point where I want to use a drop down list with three options. I want to use the value from the drop down list as a variable in a PitStop Action List. The variable in the Action List has to be a boolean and my drop down list is text. Is there a possibility to "change" the text into a boolean that I can use in the Acton List? Are there any ideas how to create a workarround?
I have three options in the drop down list (beside some more in the flow) and i don't want to set each of them up as yes/no list because it's not that user friendly.
Thanks in advance,
Julia
Change "text" to "boolean"
Re: Change "text" to "boolean"
You can use the app "String replace" to change the value, representing your choice in the Submit Point in the dataset, to yes or no.
Re: Change "text" to "boolean"
This is what "Rule-based variables" in Variable Sets are for. You create a variable, e.g. UserChoice, that gets the text from metadata, and you create another variable UserChoiceAsBoolean that is rule based and where you define that when UserChoice is equal to "I love it" the value is true, else it is false. In the Action List you use UserChoiceAsBoolean of course. Search in the Learn section of the website for "Smart Preflight": https://www.enfocus.com/en/learn/pitstop/all
Re: Change "text" to "boolean"
Thanks, got it working with the rule bases variables