COMMUNITY
Custom Variable Bug
Hy,
I have a question with custom variables.
I would like to make a logical statement, but you make it really hard. Because you only let the result of the logical statement to be a text...
Additionally what kind of IF statement this is if there is a False result..? For example fallback could be used as a False statement.
What I wanted to do is to decide whether an extracted data is true or false and use the result.
For example using it for a custom variable:
Bot statement 1: Give a value. [customVar mark=1]
User: 2
Bot statement 2: Are you sure? [customVar mark=[IF([extractedData interaction=1 fallback=1]=2){10}]]
User: Yes
Bot statement 3: Your value: [showVar=mark]
In this case it the custom variable mark will be 10.
But there is a bug:
extractedData interaction=1 is not "2" the Bot statement 2 will write [customVar mark=]
Even though the result at Bot statement 3 is good, cause variable value will be 1.
So can you do something with the unwanted [customVar mark=] if the logical statement is fale?