From f80397f2501d7b94401cab864ec16254472a4175 Mon Sep 17 00:00:00 2001 From: Sinekhaya Date: Tue, 17 Sep 2024 15:48:32 +0200 Subject: [PATCH] syntax fix --- twilio-iac/helplines/sg/templates/workflows/master.tftpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twilio-iac/helplines/sg/templates/workflows/master.tftpl b/twilio-iac/helplines/sg/templates/workflows/master.tftpl index 522d7c8f6..466b38929 100644 --- a/twilio-iac/helplines/sg/templates/workflows/master.tftpl +++ b/twilio-iac/helplines/sg/templates/workflows/master.tftpl @@ -16,7 +16,7 @@ "expression": "${task_routing_filter_expression}", "targets": [ { - "expression": "(worker.waitingOfflineContact != true AND ((task.channelType == 'voice' AND worker.channel.chat.assigned_tasks == 0 AND worker.routing.skills HAS \"Calls\") OR (task.channelType != 'voice' AND worker.channel.voice.assigned_tasks == 0 AND worker.routing.skills HAS \"Chat\")) AND ((task.transferTargetType == 'worker' AND task.targetSid == worker.sid) OR (task.transferTargetType != 'worker' AND worker.sid != task.ignoreAgent))) OR (worker.waitingOfflineContact == true AND task.targetSid == worker.sid AND task.isContactlessTask == true)" + "expression": "(worker.waitingOfflineContact != true AND ((task.channelType == 'voice' AND worker.channel.chat.assigned_tasks == 0 AND worker.routing.skills HAS \"Calls\") OR (task.channelType != 'voice' AND worker.channel.voice.assigned_tasks == 0 AND worker.routing.skills HAS \"Chat\")) AND ((task.transferTargetType == 'worker' AND task.targetSid == worker.sid) OR (task.transferTargetType != 'worker' AND worker.sid != task.ignoreAgent))) OR (worker.waitingOfflineContact == true AND task.targetSid == worker.sid AND task.isContactlessTask == true)", "queue": "${task_queues.master}" } ]