I’m trying to route calls based on a JSON payload using ASSIGN and IF actions in CXone Studio. The ASSIGN action sets a variable priority, but the subsequent IF block always falls through to the else branch. Here’s the snippet:
ASSIGN priority = json.get('priority')
IF priority == 'high' THEN
Set Queue = 'Urgent'
ELSE
Set Queue = 'General'
END IF
The logs show priority is populated correctly, yet the condition fails. Is there a type mismatch issue with the IF action?