Create a queue for billing issues

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 1분
  • Create a queue for the Chat service channel that routes billing issues.

    시작하기 전에

    Role required: awa_admin or admin

    프로시저

    1. From the Queues list view, click New.
    2. Enter the following information in the fields listed:
      • Name: Billing Support
      • Service channel: Chat
      • Condition mode: Advanced
    3. 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);
    4. Click Submit.