So I’m seeing a very odd bug with CXone Studio branching. I assign a boolean via ASSIGN then use IF to route, but it always hits the else branch.
“The IF action evaluates the condition to a boolean value.”
My JSON looks like this:
{
"actions": [
{
"actionType": "ASSIGN",
"variableName": "isVIP",
"value": "${contact.attributes.isVIP}"
},
{
"actionType": "IF",
"condition": "${isVIP} == true"
}
]
}
Why is ${isVIP} not evaluating correctly?