I am trying to have a flow branch based on an {{order_type}} var. That var can only have 2 values (plus the err, of course): "delivery" or "pickup"
I used a Logic Split Node with two possibles : {{order_type}} =
"delivery" and {{order_type}} = "pick-up". The ELSE block is "WTF?? Not 'delivery' not 'pick-up'? What else can you be, you little piece of
?? Your order type is {{order_type}}. "
Which outputs => WTF?? not 'delivery' not 'pick-up'? What else can you be, you little piece of
?? Your order type is delivery.
A few "interesting" things:
- {{order_type}} = "delivery",
- {{order_type}} = delivery,
- and {{order_type}} = 'delivery'
are all functionally equivalent in that they all yield the exact same result... hitting the else block.
FYI: I checked the obvious: delivery and pick-up are indeed spelled correctly and in the correct case.
I even checked JS style and used == for equality. (Loool, yeah I was not hopeful, but I was getting desperate)
Obviously, I am using the Logic Split incorrectly.
The bigger issue is that I see no place where I can learn how to use it correctly. Also, there does not seem to be a way to verify a variable's value and branch according to that value. There really should be.
AN OFFER: I think you guys are on to a great idea with a less than great implementation. I spent 11 years as a ghost writer simplifying tech stuff. I am willing to help (as much as I can given my other obligations) in rewriting your docs.