diff --git a/twilio-iac/helplines/mw/common.hcl b/twilio-iac/helplines/mw/common.hcl index 55d5f990aa..dc8086eabe 100644 --- a/twilio-iac/helplines/mw/common.hcl +++ b/twilio-iac/helplines/mw/common.hcl @@ -23,7 +23,7 @@ locals { workflows = { master : { friendly_name : "Master Workflow" - templatefile : "/app/twilio-iac/helplines/mw/templates/workflows/master.tftpl" + templatefile : "/app/twilio-iac/helplines/mw/templates/workflows/master-prod.tftpl" }, survey : { friendly_name : "Survey Workflow" diff --git a/twilio-iac/helplines/mw/templates/workflows/master-prod.tftpl b/twilio-iac/helplines/mw/templates/workflows/master-prod.tftpl index 1161cedafe..c32df205be 100644 --- a/twilio-iac/helplines/mw/templates/workflows/master-prod.tftpl +++ b/twilio-iac/helplines/mw/templates/workflows/master-prod.tftpl @@ -13,7 +13,7 @@ }, { "filter_friendly_name": "Tithandizane Helpline", - "expression": "${task_routing_filter_expression}", + "expression": "channelType=='web' AND twilioNumber=='messenger:113053900394672'", "targets": [ { "expression": "(worker.waitingOfflineContact != true AND ((task.channelType == 'voice' AND worker.channel.chat.assigned_tasks == 0) OR (task.channelType != 'voice' AND worker.channel.voice.assigned_tasks == 0)) 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)", @@ -23,7 +23,7 @@ }, { "filter_friendly_name": "Offline contacts", - "expression": "${task_routing_filter_expression}", + "expression": "isContactlessTask==true", "targets": [ { "expression": "(worker.waitingOfflineContact != true AND ((task.channelType == 'voice' AND worker.channel.chat.assigned_tasks == 0) OR (task.channelType != 'voice' AND worker.channel.voice.assigned_tasks == 0)) 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)", @@ -33,7 +33,7 @@ }, { "filter_friendly_name": "Yoneco", - "expression": "${task_routing_filter_expression}", + "expression": "channelType=='web' AND twilioNumber=='messenger:154148147974717'", "targets": [ { "queue": "${task_queues.yoneco}", @@ -43,7 +43,7 @@ }, { "filter_friendly_name": "IWF", - "expression": "${task_routing_filter_expression}", + "expression": "channelType=='web' AND twilioNumber=='messenger:154148147974717'", "targets": [ { "queue": "${task_queues.iwf}",