Create a queue for billing issues
On this page
Create a queue for billing issues
Create a queue for the Chat service channel that routes billing issues.
Before you begin
Role required: awa_admin or admin
Procedure
-
From the Queues list view, click New.
-
Enter the following information in the fields listed:
-
Name: Billing Support
-
Service channel: Chat
-
Condition mode: Advanced
-
-
In the Script field, enter this script:
(function executeCondition(/* glide record */ current) { var contextTable = current.getValue('context_table'); var interactionBlobRecord = new GlideRecord(contextTable); interactionBlobRecord.addQuery('sys_id',current.getValue('context_document')); interactionBlobRecord.query(); if(interactionBlobRecord.next()){ var jsonBlob = JSON.parse(interactionBlobRecord.getValue('value')); if(jsonBlob.liveagent_csp_category == 'billing') return true; } return false; })(current); -
Click Submit.
Keep exploring.
Find another answer, or bring this documentation into your own tools.