Skip to content

Commit

Permalink
update master workflow template
Browse files Browse the repository at this point in the history
  • Loading branch information
sinehome committed Dec 13, 2023
1 parent 1e42b76 commit e510032
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion twilio-iac/helplines/mw/common.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions twilio-iac/helplines/mw/templates/workflows/master-prod.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand All @@ -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)",
Expand All @@ -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}",
Expand All @@ -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}",
Expand Down

0 comments on commit e510032

Please sign in to comment.