CXone Studio: ASSIGN + IF branching logic for conditional routing

Hey team,

Trying to set up some branching logic in CXone Studio. I want to assign a variable based on the caller’s input and then route them differently. Here’s the snippet I’ve got:

ASSIGN "Priority" = "High"
IF "Priority" == "High" THEN
 // Route to VIP queue
ELSE
 // Route to standard queue
END IF

It’s not working as expected. The IF statement seems to ignore the assignment. Am I missing a step or is there a specific syntax for chaining these actions? Any help would be great.