Integroi Webex Contact Center ServiceNow-palveluun (versio 1—Legacy)

list-menuOnko sinulla palautetta?
Kun integroit Webex Contact Centerin ServiceNow CRM -konsoliin, voit käynnistää Webex Contact Center Desktopin ServiceNowista.

Edellytykset

Softphone-käyttöliittymän tuettu vähimmäiskoko on 500px. Mikä tahansa arvo, joka on pienempi kuin 500 pikseliä, voi aiheuttaa näyttö- tai toiminnallisuusongelmia.

Ennen kuin integroit Webex Contact Centerin ServiceNow CRM -konsoliin, varmista, että sinulla on seuraavat tiedot:

Noudata yhtä seuraavista kahdesta menetelmästä:

  • Kehittäjäinstansseissa suosittelemme, että noudatat kehittäjäinstanssioppaan ohjeita.
  • Jos omistat yrityslisenssin saaneen ilmentymän, noudata yrityslisensoituja esiintymiä koskevia ohjeita.

Emme suosittele yrityslisensoidun sovelluksen sekoittamista kehittäjien hiekkalaatikkoesiintymiin.

Digitaalisia kanavia, kuten chattia ja sähköpostia, ei tueta CRM-liittimillä. Tämä koskee kaikkia CRM-integraatioita, jotka käyttävät näitä liittimiä. Suunnittele käyttöönotto- ja asiakastoiminnan työnkulut vastaavasti.

Seuraavissa osissa kuvataan vaiheet ServiceNow-liittimen asentamiseksi kehittäjäinstansseille.

1

Kirjaudu ServiceNow-kehittäjäportaalitilillesi ja avaa hallintakonsoli .

2

Valitse T ili-val ikon Oma esiinty mä -alueelta Aloita luominen.

ServiceNow developer portal screenshot with ‘Start Building’ button highlighted.

3

Siirry kehittäjäinstanssissa ikkunan vasem massa yläkulmassa olevasta Suodatinnavigaattor i-kentästä kohtaan Laaj ennukset.

ServiceNow developer instance showing a search for ‘plugins’ filter navigator.

4

Etsi Openframe-laajennus, jonka otsikko on Open frame. Saatat joutua selaamaan luetteloa.

ServiceNow developer instance on the Applications screen, showing the search and results for ‘OpenFrame.’

5

Asen na Openframe-laajennus napsauttamalla Asenna.

6

Valitse Aktivoi laajennus -valintaikkunassa Aktivoi.

ServiceNow developer instance showing OpenFrame plugin popup with the ‘Activate’ button highlighted.

7

Kun laajennuksen aktivointi on valmis, napsauta Plugin Activation -valintaikkunassa Sulje ja lataa lom ake uudelleen.

ServiceNow developer instance showing OpenFrame plugin activation loading.

ServiceNow developer instance showing OpenFrame plugin activation success window with the ‘Close & Reload Form’ button highlighted.

8

Voit tarkistaa laajennuksen aktivoinnin siirtymällä ikkunan vasem massa yläkulmassa olevasta Suodatinnavigaattori-kentästä OpenFram e-kohtaan.

9

Valitse Määr itykset ja varmista, että OpenFrame-laajennus näkyy OpenFr ame Configurations - luettelossa.

ServiceNow developer instance showing OpenFrame Configurations in the filter navigator search.

1

Lataa uusin System Update Set XML -tiedosto, joka on saatavana github-repossa tästä sijainnista: https://github.com/CiscoDevNet/webex-contact-center-crm-integrations/tree/main/ServiceNow.

Tiedoston nimi: Web Excc-ServiceNow-update-setv (X) .xml

Github repo screenshot for Webex Contact Center CRM integrations – ServiceNow.

2

Siirry ServiceNow-esiintymässä ikkunan vasemmassa yläkulmassa olevasta Suodatin navigaattor ikentästä kohtaan Järjestelmäpäivitysjou kot > Päivitä jou kot toimitettavaksi.

ServiceNow developer instance showing a search in the filter navigator on the ‘All’ tab for ‘Update set’ and ‘Update Sets to Commit’ option highlighted.

3

Napsauta Tuo päivitysjoukko XML-tiedostosta - linkkiä.

ServiceNow developer instance on the Update Sets results page with ‘Related Links: Import Update Set from XML’ highlighted.

4

Valitse Valitse tiedosto, valitse System Update Set XML -tiedosto ja valitse sitten Lataa.

ServiceNow developer instance import XML screen.

ServiceNow developer portal retrieved update sets list.

Päivitysjoukko näkyy Haetut päivitysjoukot - luettelossa ja on Ladattu - tilassa.
5

Avaa päivitysjoukko napsauttamalla Ha etut päivitysjoukot -luettelosta Päivitysjoukon tiedostonimi (linkki).

ServiceNow developer portal retrieved update sets list for an updated file.

6

Valitse ikkunan oikeassa yläkulmassa Esikatsele päivitysjoukko tarkista aksesi päivitysjoukon ongelmien varalta.

ServiceNow developer portal retrieved update sets list for an updated file with the ‘Preview Update Set’ button highlighted.

7

Napsauta Update Set Preview -valintaikkunassa Sulje, kun esikatselu on valmis.

ServiceNow developer portal with the update set preview success notification.

8

Valitse Commit Update Set.

ServiceNow developer portal retrieved update sets list for an updated file with the ‘Commit Update Set’ button highlighted.

9

Napsauta Update Set Commit -valinta ikkunassa Sulje, kun päivitysjoukon toimittaminen on valmis.

ServiceNow developer portal with the update set commit success notification.

1

Kirjoita ikkunan vasemmassa yläkulmassa olevaan Suodatin navigaattor i-kent sys_properties.listtään ja paina Enter.

ServiceNow developer instance showing a search in the filter navigator on the ‘All’ tab for ‘sys_properties.list’

2

Lajittele ominaisuudet Järjestel män ominaisuudet -sivulla päivitetyn päivämäärän mukaan. Varmista, että näet seuraavat Webex Contact Center -ominaisuudet:

ServiceNow developer instance system properties page.

3

Avaa agentdesktop_urlJärjestelmän ominaisuudet - agentdesktop_url sivu napsa uttamalla.

4

Kirjoita Arvo -kenttään Webex Contact Center - työpöydän URL-osoite toiminta-alueen mukaan.

ServiceNow developer instance system property details for agentdesktop_url.

5

Tall enna muutokset valitsemalla Päivitä.

6

(Valinnainen) Jos haluat muuttaa Aktiviteettitaulukon nimeä, muokkaa webexccactivit ytable-ominaisuuksia tarpeen mukaan.

Napsauta Järjestelmän ominaisuudet -sivulla webex ccactivitytable.

Muuta Ar vo - kenttää tarpeen mukaan.

ServiceNow developer instance system property details for webexactivitytable.

7

(Valinnainen) Lisää käyttäjäryhmiä seuraavilla tavoilla:

  1. Siirry ikkunan vasem massa yläkulmassa olevassa Suodatinnavigaattori-kentässä kohtaan Järjestelmän suojaus kohdassa Ryhmät.

    ServiceNow developer instance filter navigator search for ‘Groups’ under ‘System Security’
  2. Luo uusi käyttäjäryhmä tai käytä olemassa olevaa.

    ServiceNow developer instance group page for WebexccAgentsGroup.

  3. Valitse Muokkaa.

  4. Etsi Koko sn_openframe_userel ma-kohd asta ja siirrä se käyttäjäryhmääsi.

    ServiceNow developer instance group edit members page showing a search for a collection.

    ServiceNow developer instance group edit members page showing a collection moved into the roles list.

  5. Valitse Tallenna.

  6. Lisää käyttäjä ryhmän jäseneksi.

    ServiceNow developer instance group page with user roles assigned.

1

Siirry Suodatinnavigaattor i-kentässä kohtaan OpenFrame > Kokoonpanot.

ServiceNow developer instance filters navigator with ‘openframe’ in the search field and ‘Configurations’ under ‘OpenFrame’ highlighted in the results.

2

Valitse Uusi.

ServiceNow developer instance OpenFrame Configurations page with ‘New’ highlighted.

3

Kirjoita URL-osoitteelle seuraavat ominaisuudet:

  • Nimi: Webex Contact Center Desktop

  • Otsikko: Webex Contact Center

  • Leveys: 550 (Suositeltu)

  • Korke us: 600 (suositus)

4

Napsauta URL- kentän oikealla puolella olevaa Luk it a-painiketta ja lisää URL-osoitte agentdesktop.doeksi. (Suorita tämä vaihe osoittaaksesi määritykset käyttöliittymäsivulle)

ServiceNow developer instance OpenFrame Configurations – New Record page with the lock icon highlighted.

5

(Valinnainen) Määritä määritys valitsemalla Käyttäjä/Agenttiryhmä (t).

ServiceNow developer instance OpenFrame Configurations – New Record user group selection.

6

Klik kaa Lähetä. URL-osoite näkyy linkkinä.

ServiceNow developer instance OpenFrame Configurations – New Record page showing the URL link that appears after submitting the user group selections.

7

Ennen kuin yrität käyttää OpenFrame-puhelinta, varmista, että lataat ServiceNow-mukautetun työpöytäasettelun JSON-tiedoston Webexin yhteyskeskukseen. Management Portal Lisätietoja on ohjeaiheessa ServiceNow-työpöytäasettelun määrittäminen Webex Contact Centerissä.

1

Lataa ServiceNowin työpöytäasettelu osoitteesta https://github.com/CiscoDevNet/webex-contact-center-crm-integrations/tree/main/ServiceNow.

Github screen for Webex Contact Center CRM Integrations – Desktop Layouts – ServiceNow.

2

Päivitä työpöydän asettelutiedoston ominaisuudet tarvittaessa.

3

Siirry Webex-yhteyskeskukseenManagement Portal.

4

Valitse Management Portal siirtymispalkista Provisioning > Työ pöydän aset telu.

Webex Contact Center Management Portal provisioning page with Desktop Layout highlighted in the left navigation.

5

Valitse Uusi asettelu ja kirjoita työpöydän asettelun tiedot.

6

Lataa ServiceNow Desktop Layout JSON -tiedosto.

7

Tall enna kokoonpano valitsemalla Tallenna.

Voit nyt käynnistää Webex Contact Center - työpöydän ServiceNow-konsolissa.

8

Siirry Suodatinnavigaattor i-kentässä kohtaan Service Operations Workspace.

ServiceNow home page with Webex Contact Center Agent Desktop integrated with ServiceNow.

Seuraavissa osissa kuvataan ohjeet ServiceNow-liittimen asentamiseksi lisensoiduille yritysesiintymille.

1

Kirjaudu ServiceNow-kehittäjäportaalitilillesi ja avaa hallintakonsoli .

2

Valitse T ili-val ikon Oma esiinty mä -alueelta Aloita luominen.

ServiceNow developer portal screenshot with ‘Start Building’ button highlighted.

3

Siirry kehittäjäinstanssissa ikkunan vasem massa yläkulmassa olevasta Suodatinnavigaattor i-kentästä kohtaan Laaj ennukset.

ServiceNow developer instance showing a search for ‘plugins’ filter navigator.

4

Etsi Openframe-laajennus, jonka otsikko on Open frame. Saatat joutua selaamaan luetteloa.

ServiceNow developer instance on the Applications screen, showing the search and results for ‘OpenFrame.’

5

Asen na Openframe-laajennus napsauttamalla Asenna.

6

Valitse Aktivoi laajennus -valintaikkunassa Aktivoi.

ServiceNow developer instance showing OpenFrame plugin popup with the ‘Activate’ button highlighted.

7

Kun laajennuksen aktivointi on valmis, napsauta Plugin Activation -valintaikkunassa Sulje ja lataa lom ake uudelleen.

ServiceNow developer instance showing OpenFrame plugin activation loading.

ServiceNow developer instance showing OpenFrame plugin activation success window with the ‘Close & Reload Form’ button highlighted.

8

Voit tarkistaa laajennuksen aktivoinnin siirtymällä ikkunan vasem massa yläkulmassa olevasta Suodatinnavigaattori-kentästä OpenFram e-kohtaan.

9

Valitse Määr itykset ja varmista, että OpenFrame-laajennus näkyy OpenFr ame Configurations - luettelossa.

ServiceNow developer instance showing OpenFrame Configurations in the filter navigator search.

1

Kirjoita ikkunan vasemmassa yläkulmassa olevaan Suodatin navigaattor i-kenttään sys_properties.list.

ServiceNow developer instance showing a search in the filter navigator on the ‘All’ tab for ‘sys_properties.list’

2

Lajittele ominaisuudet Järjestel män ominaisuudet -sivulla päivitetyn päivämäärän mukaan. Varmista, että näet seuraavat Webex Contact Center -ominaisuudet:

ServiceNow developer instance system properties page results.

3

Avaa agentdesktop_urlJärjestelmän ominaisuudet - agentdesktop_url sivu napsa uttamalla.

4

Kirjoita Arvo -kenttään Webex Contact Center - työpöydän URL-osoite toiminta-alueen mukaan.

ServiceNow developer instance system property details page for agentdesktop_url.

5

Tall enna muutokset valitsemalla Päivitä.

6

(Valinnainen) Jos haluat muuttaa Aktiviteettitaulukon nimeä, muokka x_caci_webexcca.webexccactiv itytable-ominaisuuksia tarpeen mukaan.

  1. Napsauta Järjestelmän ominaisuudet -sivulla x_caci_webexcc .we bexccactivitytable.

    ServiceNow developer instance system properties page results for x_caci_webexcc.webexccactivitytable.

  2. Muuta Ar vo - kenttää tarpeen mukaan.

    ServiceNow developer instance system property page for x_caci_webexcc.webexccactivitytable.

7

(Valinnainen) Lisää käyttäjäryhmiä seuraavilla tavoilla:

  1. Siirry ikkun an vasem massa yläkulmassa olevassa Suodatinnavigaattori-kentässä kohtaan Järjestelmän suojaus -kohdassa R yhmät.

    ServiceNow developer instance filter navigator results for ‘Groups.’

    SeviceNow developer instance group page for webexccagentsgroup.

  2. Valitse Muokkaa ja lisää seuraavat roolit:

    • sn_openframe_user

    • x_caci_webexcc.agentti

    • agent_workspace_user

    • x_caci_webexcc. webexcc_imp_activity_user

    • x_caci_webexcc. webex_contact_center

    SeviceNow developer instance group page for webexccagentsgroup with rolls added.

1

Siirry Suodatinnavigaattor i-kentässä kohtaan OpenFrame > Kokoonpanot.

ServiceNow developer instance filters navigator with ‘openframe’ in the search field and ‘Configurations’ under ‘OpenFrame’ highlighted in the results.

2

Valitse Uusi.

ServiceNow developer instance OpenFrame Configurations page with ‘New’ highlighted.

3

Kirjoita URL-osoitteelle seuraavat ominaisuudet:

  • Nimi: Webex Contact Center Desktop

  • Otsikko: Webex Contact Center

  • Leveys: 550 (Suositeltu)

  • Korke us: 600 (suositus)

4

Napsauta URL- kentän oikealla puolella olevaa Luk it a-painiketta ja lisää URL-osoitte x_caci_webexcc_agentdesktop.doeksi. (Suorita tämä vaihe osoittaaksesi määritykset käyttöliittymäsivulle)

ServiceNow developer instance OpenFrame Configurations – New Record page with the lock icon highlighted.

5

(Valinnainen) Määritä määritys valitsemalla Käyttäjä/Agenttiryhmä (t).

ServiceNow developer instance OpenFrame Configurations – New Record user group selection.

6

Klik kaa Lähetä. URL-osoite näkyy linkkinä.

ServiceNow developer instance OpenFrame Configurations – New Record with URL added.

7

Siirry Suodatinnavigaattor i-kentässä kohtaan Service Operations Workspace.

ServiceNow home page with Webex Contact Center Agent Desktop integrated with ServiceNow.

8

(Valinnainen) Siirrä Käyttäjäryhmä- luettelossa käyttäjäryhmät, jotka voivat käyttää Webex Contact Center - työpöytää, Käytettävissä - kohd asta Valittu.

9

Ennen kuin yrität käyttää OpenFrame-puhelinta, varmista, että lataat ServiceNow-mukautetun työpöytäasettelun JSON-tiedoston Webexin yhteyskeskukseen. Management Portal Lisätietoja on ohjeaiheessa ServiceNow-työpöytäasettelun määrittäminen Webex Contact Centerissä.

1

Lataa ServiceNowin työpöytäasettelu osoitteesta https://github.com/CiscoDevNet/webex-contact-center-crm-integrations/tree/main/ServiceNow.

Github screen for Webex Contact Center CRM Integrations – Desktop Layouts – ServiceNow.

2

Päivitä työpöydän asettelutiedoston ominaisuudet tarvittaessa.

3

Siirry Webex-yhteyskeskukseenManagement Portal.

4

Valitse Management Portal siirtymispalkista Provisioning > Työ pöydän aset telu.

Webex Contact Center Management Portal provisioning page with Desktop Layout highlighted in the left navigation.

5

Valitse Uusi asettelu ja kirjoita työpöydän asettelun tiedot.

6

Lataa ServiceNow Desktop Layout JSON -tiedosto.

7

Tall enna kokoonpano valitsemalla Tallenna.

Voit nyt käynnistää Webex Contact Center - työpöydän ServiceNow-konsolissa.

8

Siirry Suodatinnavigaattor i-kentässä kohtaan Service Operations Workspace.

ServiceNow home page with Webex Contact Center Agent Desktop integrated with ServiceNow.

1

Siirry Suodatin-navigaattor i-kentässä kohtaan Tapahtum at > Avaa tapahtuma.

2

Napsauta hiiren kakkospainikkeella soittajan kenttää ja valitse Määritä sanakir ja.

ServiceNow developer instance Incidents window with the Configure Directory option highlighted.

3

Lisää pilkulla erotetut attribu “ref_contributions=show_phone,utit.

ServiceNow developer instance call incident window for a Directory Entry.

Voit nyt aloittaa Webex Contact Center -työpöydän käytön ServiceNow-konsolissa.

4

Siirry Suodatinnavigaattor i-kentässä kohtaan Service Operations Workspace.

ServiceNow home page with Webex Contact Center Agent Desktop integrated with ServiceNow.

  • Tuemme kirjautumista vain Web Agent Desktop RTC for Salesforce (SFDC) - ja Microsoft Dynamics (MS Dynamics) -liittimillä.
  • Tällä hetkellä, tämä ominaisuus koskee vain agentteja.

Agent DesktopServiceNow-konsolissa

Ennen kuin soitat ulkomaanpuheluita, varmista, että teet seuraavat toimet:

  • Luo ulkoinen tulopiste ja määritä ulkoisen tulopisteen strategia.

  • Ota ulkoinen ANI käyttöön agenttiprofiilissa.

  • Aseta ulkoinen ANI valitsinumeron ja tulopisteen väliseksi kartoitukseksi.

Lisätietoja on Asennus- ja hallinta Cisco Webex Contact Center oppaan Provisioning -luvussa.

Siirry Suodatinnavigaattor i-kentässä kohtaan Service Operations Workspace.

ServiceNow home page with Webex Contact Center Agent Desktop integrated with ServiceNow.

Lisätietoja työpöydän käytöstä on Webex Contact Center -ohjeen Agent -välilehdessä.

Yleiskatsaus

Tässä artikkelissa käsitellään useita tapoja mukauttaa ServiceNow CRM -liittimen liiketoimintasääntöjä. Siinä kerrotaan, kuinka voit mukauttaa käyttötapauksia ServiceNowille ominaisten liiketoimintasääntöjen perusteella.

Asiakkaan on itse hallinnoitava näitä käyttötapauksia ServiceNowissa. Kokoonpano koskee ServiceNowia eikä Webex Contact Center -ohjelmistoa tai asiantuntemusta.

Tämä on viiteasiakirja liiketoimintasääntöjen muuttamisen helpottamiseksi. ServiceNow-kehittäjät luovat ja hallinnoivat liiketoimintasääntöjä ja tarjoavat tukea.

Cisco tarjoaa vain näytedokumentaatiota.

Seuraavissa osioissa on tietoja kehittäjä- ja yritysesiintymien Toiminnot-widgetin määrittämisestä, ottamisesta käyttöön ja hallinnasta.

Toimintojen päivitysjoukon vahvistaminen widgetille

Asenna lisensoiduille yritysesiintymille uusin Webex Contact Center -sovellus Service Now-kaupasta.

Jos haluat määrittää Toiminnot-widgetin kehittäjäesiintymille, lataa uusin System Update Set XML -tiedosto, joka on saatavilla github-repossa tästä sijainnista: https://github.com/CiscoDevNet/webex-contact-center-crm-integrations/tree/main/ServiceNow/ActionsWidget. Tiedoston nimi on webexcc-servicenow-update-setv7-1-ActionsWidget.xml. Toiminnot-widgetin päivitysjoukon vahvistaminen on ohjeaiheessa Päivitysjoukon vahvistam inen vaiheissa 2— 9.

Toimintojen widgetin käyttöönotto

Ota Toiminnot- widgetin käyttöön isWidgetDisplayEnab led-ominaisuuden avulla. Tämän ominaisuuden arvoa ei saa muokata mukautetun työpöytäasettelun päättömässä osassa. Ominaisuuden arvoksi asetetaan aina false mukautetun työpöydän asettelun päättömässä osassa. Ominaisuuden arvo tulisi päivittää vain mukautetun työpöydän asettelun paneeliosassa.

Kun olet ottanut Toiminnot-widgetin käyttöön mukautetussa työpöydän asettelussa, voit suorittaa seuraavat toiminnot:

  • Aktiivisuustietueiden hallinta — Napsauta Näytä/muokkaa aktiviteettitietuetta nähdäksesi soittajaan liittyvien aktiivisuustietueiden luettelon.
  • Liitä CRM-objektit — valitse Yhdistä aktiviteettitiet ueisiin, jos haluat lisätä CRM-objekteja, kuten puhelutyyppi (saapuva tai lähtevä), puheluobjekti, puhelutiedot ja niin edelleen aktiviteettitietueeseen.
  • Tapahtumien hallinta — valitse Luo tapaus. Uusi tapaus luodaan, kun soittajan tiedot on täytetty valmiiksi. Voit tehdä tarvittavat päivitykset tapahtumaan. Voit muokata tietuetyyppiä tapauksesta toiseen, henkilöstömoduulista ja niin edelleen tarpeidesi mukaan. Jos haluat muuttaa tietuetyyppiä, muokkaa TypeOfRec ord-ominaisuuden arvoa Toiminnot-widgetin kokoonpanossa. Esimerkiksi:
    {
                  "comp": "md-tab-panel",
                  "attributes": { "slot": "panel", "class": "widget-pane" },
                  "children": [
                    {
                      "comp": "agentx-custom-desktop",
                      "script": "https://cx-crmconnector.ciscoccservice.com/servicenow/v5/dist/index.js",
                      "properties": {
                        "isWidgetDisplayEnabled": true,
                        "typeOfRecord" : "Create Incident" 
                      },
                      "wrapper": {
                        "title": "SNOW Actions !",
                        "maximizeAreaName": "app-maximize-area"
                      }
                    }
                  ]
                }
  • Lisää reaaliaikaiset puheluhuomautukset — Voit tallentaa lisätietoja puhelusta tekstialueelta ja päättää puhelun. Näet nämä muistiinpanot, jotka on lisätty puhelumuistiinpanoiksi aktiviteettitietueessa.

Koodin muutos ServiceNowissa

Komentosarja sisältää muutoksia
  1. Siirry suodatinnavigaattoriin ja etsi komentosarjoja.

    Valitse Järjestelmän käyttöliitty män kohdasta Koment osarja Sisältää.

  2. Suodata nimi ja etsi PropUtils.

  3. Muuta menetelmää U serGetSysID komentosarjassa.

    Nykyinen:

    UserGetSysId : function () {
    var opened_for;
    var user = new GlideRecord("sys_user");
    user.addQuery(this.getParameter('field'),this.getParameter('value'));
    user.query();
    if (user.next())
    opened_for=user.sys_id;
    var grInt = new GlideRecord('interaction');
    grInt.initialize();
    grInt.assigned_to= gs.getUserID();
    grInt.type= 'phone';
    grInt.opened_for= opened_for;
    var sysid=grInt.insert();
    return sysid;
    },

    Uusi näytekoodi tapahtumaan:

    UserGetSysId : function () {
                var opened_for;
    
            //Incident related changes
                 var sysidlist = {};
                var user = new GlideRecordSecure("sys_user");
                  user.addQuery(this.getParameter('field'),this.getParameter('value'));
                  user.query();
                  if(user.next()) {
                     opened_for=user.sys_id;//return user.sys_id;
                        var inc = new GlideRecordSecure('incident');
                                inc.addQuery('caller_id', opened_for);
                                inc.addQuery('state','IN','1,2');
                                inc.orderByDesc('sys_created_on');
                                inc.query();
                                    if (inc.next()) {
                                        sysidlist.incsysid=inc.getUniqueValue();
                                   }else{
                                        inc.initialize();
                                        inc.caller_id=opened_for;
                                        inc.contact_type='phone';
                                        inc.short_description='Call Received From '+ this.getParameter('value');
                                        sysidlist.incsysid=inc.insert();
                                    }
                  } 
                var grInt = new GlideRecordSecure('interaction');
                    grInt.initialize(); 
                    grInt.assigned_to= gs.getUserID(); 
                    grInt.type= 'phone'; 
                    grInt.opened_for= opened_for; 
                var sysid=grInt.insert();
                sysidlist.sysid=sysid;
                
                return JSON.stringify(sysidlist);
            },

Menetelmän muutos käyttöliittymäsivuilla
  1. Siirry suodatinnavigaattoriin ja etsi UI page.

    Valitse Käyttö liittymäsivut System UI -kohdasta.

  2. Suodata nimi ja etsi agentdesktop.

  3. Muuta screenpop-toimintoa Client-komentosar jassa.

    Nykyinen toiminto:

    // screen pop
    function screenpop(callerani,callSessionInfo) {
    
    
    
    if(callerani===callSessionInfo.phoneNumber){
    callerani=stripPrefixes(callerani);
    }
    var gaout = new GlideAjax('propUtils');
    gaout.addParam('sysparm_name', 'UserGetSysId');
    gaout.addParam('field', 'phone');
    gaout.addParam('value', callerani);
    gaout.getXMLWait();
    
    
    var sysid = gaout.getAnswer();
      
    openFrameAPI.openServiceNowForm({
    entity: 'interaction',
    query: 'sys_id='+sysid
    });

    Tapahtuman näytekoodi:

    // screen pop
    function screenpop(callerani,callSessionInfo) {
       
    
        if(callerani===callSessionInfo.phoneNumber){
            callerani=stripPrefixes(callerani);
        }
        
        var gaout = new GlideAjax('propUtils');
            gaout.addParam('sysparm_name', 'UserGetSysId');
            gaout.addParam('field', 'phone');
            gaout.addParam('value', callerani);
            gaout.getXMLWait();
    
    // For Incident-related change
          var sysObj = JSON.parse(gaout.getAnswer());
        
        if(sysObj.incsysid){
            openFrameAPI.openServiceNowForm({
            entity: 'incident',
            query: 'sys_id='+sysObj.incsysid, 
            'interaction_sys_id': sysObj.sysid  
           });
        }else{
            openFrameAPI.openServiceNowForm({
            entity: 'incident',
            query: 'sys_id=-1',
            'interaction_sys_id': sysObj.sysid //'a2ba0ba62fd121106446cc96f699b6b8'  
           });
        }
       
    }

Jos soittajan tiedot ovat CRM:ssä ja tämän yhteyshenkilön kanssa on jo avattu uusi tapaus, sovellus avaa keskeneräisen tapahtuman

Jos soittajan tietoja ei ole CRM:ssä, sovellus avaa uuden tapahtuman

Jos soittajan tiedot ovat CRM:ssä, sovellus avaa uuden tapahtuman esitäytetyillä tiedoilla

Yleiskatsaus

Tässä käyttötapauksessa kuvataan prosessin, jolla lisätään ylimääräinen sarake ServiceNow-taulukkoon - webexcc_imp_activity ja luodaan Webex CC for ServiceNow CRM Connector -liittimen asennuksen sn_openframe_phone_log yhteydessä.

Oletusarvoisesti taulukko sisältää tiettyjä järjestelmän kenttiä ja arvoja.

Voit luoda enemmän liiketoimintakohtaisia muuttujia (CAD-muuttujia) WebExCC Flow Designer -sovelluksen sisällä ja lisätä CAD-muuttujat ServiceNow-puhelun jälkeiseen toimintalokiin sekä säilyttää ne puhelun jälkeisten toimintojen taulukon tietoihin.

Tämä on vain viitedokumentaatio - ja se näyttää, miten tämä tehdään CAD-esimerkkimuuttujalle nimeltä Customer Name, joka tallentaa asiakkaan nimen IVR: ään ja lähettää sen ServiceNow-palveluun.

Odotetaan, että kumppani+asiakaspalveluNow-kehittäjät määrittävät ja hallitsevat tätä kokoonpanoa, koska se on mukautus olemassa olevaan liittimeen.

Cisco tarjoaa vain tekniikoita liittimen mukauttamiseen ja laajentamiseen.

Tästä artikkelista lähtien Cisco-tiimi on vahvistanut tuen CAD-muuttujan lisäämiselle toimintalokiin ja toimintotaulukkoon alla kuvatulla tekniikalla:

Lisää sarake WebExCC IMP -toimintaan

  1. Muokkaa taulukkoa ServiceNowin kehittäjäversiossa.

    ServiceNow developer instance WebexCC IMP activity table.

  2. Siirry suodatinnavigaattoriin ja etsi studio.

    ServiceNow developer instance filter navigator on the All tab with ‘studio’ entered in the filter.

    Valitse Webex-yhteyskeskus

    Studio app for ServiceNow with the Select Application window open.

    tai

    Studio app for ServiceNow with the Select Application window open and ‘Select Store App to Customize’ selected.

    Studio app for ServiceNow with the ‘Select Store App to Customize’ window open and ‘Webex Contact Center’ selected.

    Studio app for ServiceNow with Webex Contact Center application file details.

  3. Valitse Web ExCC IMP Activity -taulukko

    Studio app for ServiceNow WebexCC IMP Activity table.

  4. Lisää uusi sarake, esimerkiksi CustomerName

    Studio app for ServiceNow WebexCC IMP Activity table new column example.

    Studio app for ServiceNow WebexCC IMP Activity table new column example with new column added.

Lisää sarake puhelinlokiin

  1. Muokkaa puhelinlokitaulukkoa.

    ServiceNow developer instance search for a phone log table.

    ServiceNow developer instance phone log table.

  2. Lisää uusi sarake, esimerkiksi CustomerName.

    ServiceNow developer instance phone log table new column examples.

    ServiceNow developer instance phone log table new column example with new column added.

WebExCC-toiminnan muunnoskartta

Studio app for ServiceNow WebexCC Activity Transform Map.

Lisää uusi sarake, esimerkiksi CustomerName -kentän kartoitus.

Studio app for ServiceNow WebexCC Activity Transform Map new column example for CustomerName field mapping.

Studio app for ServiceNow WebexCC Activity Transform Map new column example with CustomeName selected in the Target field.

Mukauta luettelosarakkeita

Studio app for ServiceNow WebexCC Activity Transform Map with popup window to personalized list columns. Choice action option is highlighted in the Selected column.

Muuta Valinta-toiminto luomiskohdasta Ohita kohtaan, kuten Palvelu nyt suosittelee.

Studio app for ServiceNow WebexCC Activity Transform Map with the Choice action column, showing the dropdown to choose ‘ignore’ or ‘create.’

Studio app for ServiceNow WebexCC Activity Transform Map with the Choice action column and ‘ignore’ highlighted for the customer name source field.

Määritä puhelinlokiluettelo

Studio app for ServiceNow configuring phone log list with CustomerName highlighted in the Selected column.

Siirry komentosarjaan Sisällytä

Lisää vain yksi rivi webexcc. u_customername=ActInfo.CustomerName kohtaan PropUtils.

ServiceNow developer instance filter navigator search for ‘script includes.’

ServiceNow developer instance Script Includes page.

Näytekirjoitus

Katso rivi: webexcc. u_customername=ActInfo.Customer Name; tukevalla kommentilla.

var propUtils = Class.create();
propUtils.prototype = Object.extendsObject(global.AbstractAjaxProcessor,{
         getWebexccProp : function () {
           var webexccprop = {};
           webexccprop.instanceurl= 'https://'+gs.getProperty('instance_name')+'.service-now.com/';
           webexccprop.url=gs.getProperty('x_caci_webexcc.agentdesktop_url');
          // webexccprop.popupurl=gs.getProperty('x_caci_webexcc.screenpop_url');
           return  JSON.stringify(webexccprop);
      
        },
        UserGetSysId : function () {
            var opened_for;
            var user = new GlideRecord("sys_user");
              user.addQuery(this.getParameter('field'),this.getParameter('value'));
              user.query();
              if (user.next())
                 opened_for=user.sys_id;//return user.sys_id;
//            else
//               return null;
            var grInt = new GlideRecord('interaction');
                grInt.initialize();
                grInt.assigned_to= gs.getUserID();
                grInt.type= 'phone';
                grInt.opened_for= opened_for;
            var sysid=grInt.insert();
            return sysid;
        },
        setWebexcctable : function () {
            var sys_id=0;
             
            var actInfo = JSON.parse(this.getParameter('actInfo'));
            var webexcc = new GlideRecordSecure(gs.getProperty('x_caci_webexcc.webexccactivitytable'));
            webexcc.addQuery("callobject", actInfo.CallObject);
            webexcc.query();
            if(!webexcc.next()) {
                webexcc.ani = actInfo.ani;
                webexcc.dnis =actInfo.dnis;
                webexcc.queuename =actInfo.queuename;
                webexcc.wrapuptime =actInfo.wrapuptime;
                webexcc.callduration =actInfo.CallDurationInSeconds;
                webexcc.ringingtime =actInfo.ringingtime;
                webexcc.activitydate =actInfo.ActivityDate;
                webexcc.callobject =actInfo.CallObject;
                webexcc.calltype =actInfo.CallType;
                webexcc.calldisposition=actInfo.CallDisposition;
                 
                // This line is Added - to capture it in the Activity Log
               webexcc.u_customername=actInfo.CustomerName;
                 
                sys_id=webexcc.insert();
 
                //Activities on Incident record;
                var actInfoString =this.getParameter('actInfo');
                var suser = new GlideRecordSecure("sys_user");
                    suser.addQuery("phone", this.getParameter('ani'));
                    suser.query();
                    if(suser.next()) {
                    var inc = new GlideRecordSecure('incident');
                            inc.addQuery('caller_id', suser.sys_id);
                            inc.orderByDesc('sys_created_on');
                            inc.query();
                                if (inc.next()) {
                                    var jsonPretty = JSON.stringify(JSON.parse(actInfoString),null,2); 
                                    inc.comments =jsonPretty;
                                inc.update();
     
                            }
                    }
            }  
            return sys_id;
       },
 
    type: 'propUtils'
});

CAD-muuttujan luominen Flow Designer -sovelluksessa

Webex Contact Center CAD variable flow designer with Add Flow Variable popup for CustomerName.

CAD-muuttujan lisääminen työpöydän asetteluun

Esimerkki

"CadName1:SnowField1,CadName2:SnowField2"
 CadName1 is CustomerName
 SnowField1 is also used as CustomerName which is part of sample scirpt showen above "actInfo.CustomerName".

Example source code for adding the CAD variable to the Desktop Layout.

Demo kuvakaappaukset

Tarkastele äskettäin lisätty CAD-muuttuja WebExCC Activity -taulukossa.

ServiceNow example of the newly added CAD variable in the WebexCC Activity table, showing ‘Customer Name’ in the Cisco WebexCC popup.

ServiceNow example of the newly added CAD variable in the WebexCC Activity table, showing ‘CustomerName’ in the comments section under ‘Activity’ and ‘System Administrator.’

ServiceNow developer instance example of the newly added CAD variable in the WebexCC Activity table, showing the ‘CustomerName’ column.

Luo CAD-muuttuja Flow Designerille

Häiriön kiireellisyys

Webex Contact Center flow designer create CAD variable screen showing the edit flow variable popup for an incident urgency flow variable.

Tapahtuman vaikutus

Webex Contact Center flow designer create CAD variable screen showing the edit flow variable popup for an incident urgency flow variable.

Service Now -komentosarjan päivitys

Komentosarjan päivitykset sisältävät

  1. Siirry suodatinnavigaattoriin ja etsi script includes

    Valitse Järjestelmän käyttöliitty män kohdasta Komentosarja Sisältää - vaihtoehto.

    ServiceNow developer instance filter navigator search for ‘script includes’

  2. Suodata nimi propUtils.

    ServiceNow developer instance Script Includes name filter by ‘propUtils’

  3. Muuta menetelmää U serGetSysID Komentosarja- kentässä.

    ServiceNow developer instance Script Includes – propUtils details page.

    Nykyinen komentosarja:

    UserGetSysId : function () {
    var opened_for;
    var user = new GlideRecord("sys_user");
    user.addQuery(this.getParameter('field'),this.getParameter('value'));
    user.query();
    if (user.next())
    opened_for=user.sys_id;
    var grInt = new GlideRecord('interaction');
    grInt.initialize();
    grInt.assigned_to= gs.getUserID();
    grInt.type= 'phone';
    grInt.opened_for= opened_for;
    var sysid=grInt.insert();
    return sysid;
    },

    Uusi näytekoodi tapahtumaan:

    UserGetSysId : function () {
                var opened_for;
                
                var sysidlist = {};
                var user = new GlideRecordSecure("sys_user");
                  user.addQuery(this.getParameter('field'),this.getParameter('value'));
                  user.query();
                  if(user.next()) {
                     opened_for=user.sys_id;//return user.sys_id;
                        var inc = new GlideRecordSecure('incident');
                                inc.addQuery('caller_id', opened_for);
                                inc.addQuery('state','IN','1,2');
                                inc.orderByDesc('sys_created_on');
                                inc.query();
                                    if (inc.next()) {
                                        sysidlist.incsysid=inc.getUniqueValue();
                                   }else{
                                        inc.initialize();
                                        inc.caller_id=opened_for;
                                        inc.contact_type='phone';
                                        inc.urgency=this.getParameter('IncUrgency');
                                        inc.impact=this.getParameter('Impact');
                                        inc.short_description='Call Received From '+ this.getParameter('value');
                                        sysidlist.incsysid=inc.insert();
                                    }
                  } 
                var grInt = new GlideRecordSecure('interaction');
                    grInt.initialize(); 
                    grInt.assigned_to= gs.getUserID(); 
                    grInt.type= 'phone'; 
                    grInt.opened_for= opened_for; 
                var sysid=grInt.insert();
                sysidlist.sysid=sysid;
                
                return JSON.stringify(sysidlist);//sysid;
            },

Menetelmän muutos käyttöliittymäsivuilla
  1. Siirry suodatinnavigaattoriin ja etsi UI pages.

    Valitse Käyttöliittymä sivut- vaihtoehto Järjestelmä käyttöliittymä-kohdasta.

    ServiceNow developer instance filter navigator search for ‘Ui page’

  2. Suodata käyttöliittymäsivut nimellä ja etsi agentdesktop.

    ServiceNow developer instance UI Pages name filter to search ‘agentdesktop’

  3. Muuta screenpop-toimintoa komentosarjakentässä.

    ServiceNow developer instance UI Page – agentdesktop details page.

    Nykyinen toiminto:

    // screen pop
    function screenpop(callerani,callSessionInfo) {
    
    
    if(callerani===callSessionInfo.phoneNumber){
    callerani=stripPrefixes(callerani);
    }
    var gaout = new GlideAjax('propUtils');
    gaout.addParam('sysparm_name', 'UserGetSysId');
    gaout.addParam('field', 'phone');
    gaout.addParam('value', callerani);
    gaout.getXMLWait();
    
    
    var sysid = gaout.getAnswer();
      
    openFrameAPI.openServiceNowForm({
    entity: 'interaction',
    query: 'sys_id='+sysid
    });
    
    }

    Tapahtuman näytekoodi:

    // screen pop
    function screenpop(callerani,callSessionInfo) {
       
        var Impact=3;
        if(callSessionInfo.callAssociatedData.Impact != null && callSessionInfo.callAssociatedData.Impact != undefined)
        {
            Impact=callSessionInfo.callAssociatedData.Impact.value;
        }
        var IncUrgency=3;
        if(callSessionInfo.callAssociatedData.Urgency != null && callSessionInfo.callAssociatedData.Urgency != undefined)
        {
            IncUrgency=callSessionInfo.callAssociatedData.Urgency.value;
        }
        if(callerani===callSessionInfo.phoneNumber){
            callerani=stripPrefixes(callerani);
        }
        
        var gaout = new GlideAjax('propUtils');
            gaout.addParam('sysparm_name', 'UserGetSysId');
            gaout.addParam('field', 'phone');
            gaout.addParam('value', callerani);
            gaout.addParam('IncUrgency', IncUrgency);
            gaout.addParam('Impact', Impact);
            gaout.getXMLWait();
          // var sysid = gaout.getAnswer();
          var sysObj = JSON.parse(gaout.getAnswer());
        
        if(sysObj.incsysid){
            openFrameAPI.openServiceNowForm({
            entity: 'incident',
            query: 'sys_id='+sysObj.incsysid, 
            'interaction_sys_id': sysObj.sysid  
           });
        }else{
            openFrameAPI.openServiceNowForm({
            entity: 'incident',
            query: 'sys_id=-1',
            'interaction_sys_id': sysObj.sysid  
           });
        }
        window.localStorage.setItem("screenpopinteraction",JSON.stringify(sysObj));
       
    }

Jos soittajan tiedot ovat CRM:ssä, eikä uutta tai meneillään olevaa tapahtumaa ole, sovellus avaa uuden tapahtuman

ServiceNow example of an incident.

ServiceNow example of an interaction.

Vaihda koodi ServiceNowissa

Uusien sarakkeiden lisääminen Web ExCC IMP Activity -taulukkoon

Avaa WebExCC IMP -aktiviteettitaulukko

ServiceNow developer instance WebexCC Activity TransformMap.

ServiceNow developer instance WebexCC Activity TransformMap details page.

Lisää uusi sarake - InteractionsNumber

ServiceNow developer instance WebexCC Activity TransformMap new column, InteractionNumber.

ServiceNow developer instance WebexCC Activity TransformMap details page showing the new ‘interactionnumber’ column added.

Lisää uusi sarake - IncidentNumber

ServiceNow developer instance WebexCC Activity TransformMap details page showing adding a new ‘incidentnumber’ column.

Napsauta Päivitä.

ServiceNow developer instance WebexCC Activity TransformMap details page showing editing the max length for the IncidentNumber column.

ServiceNow developer instance WebexCC Activity TransformMap details page showing the new ‘incidentnumber’ column added.

Uusien sarakkeiden lisääminen Puhelinloki- taulukkoon

Puhelinloki-tauluk on av aaminen

ServiceNow developer instance Phone Log table.

Lisää uusi sarake - InteractionsNumber

ServiceNow developer instance Directory Entry – New Record page showing a new column for InteractionsNumber.

ServiceNow Developer instance Phone Log table with InteractionsNumber column added.

Lisää uusi sarake - IncidentNumber

ServiceNow developer instance Directory Entry – New Record page showing a new column for IncidentNumber.

ServiceNow Developer instance Phone Log table with IncidentNumber column added.

WebExCC-toiminnan muunnoskartta

Avaa muunnoskart ta suodatinnavigaattorista

ServiceNow developer instance filter navigator search for ‘transform map’

ServiceNow developer instance Table Transform Maps showing WebexCC Activity TransformMap in results.

Napsauta WebExCC Activity TransformMap

ServiceNow developer instance WebexCC Activity TransformMap.

Lisää uusi - vuorovaikutusnumerokarttaan

ServiceNow developer instance WebexCC Activity TransformMap with ‘InteractionNumber’ entered into the ‘Target field’

ServiceNow developer instance WebexCC Activity TransformMap with ‘InteractionNumber’ added.

Lisää uusi - tapahtumanumerokarttaan

ServiceNow developer instance WebexCC Activity TransformMap with ‘IncidentNumber’ entered into the ‘Target field’

Valitse Päivitä.

ServiceNow developer instance WebexCC Activity TransformMap with ‘IncidentNumber’ added.

Muutokset komentosarjaan sisältyvät

  1. Siirry suodatinnavigaattoriin ja etsi ”script include”.

    Valitse Järjestelmän käyttöliitty män kohdasta Koment osarja Sisältää.

    ServiceNow developer instance filter navigator with search for ‘script includes’

  2. Suodata nimi ProPu tils-ohjelmalla.

    ServiceNow developer instance Script Includes with Name filter applied to search and  ‘propUtils’ entered into the search field.

  3. Muuta menetelmää SetWeb ExccTable.

    ServiceNow developer instance Script includes - propUtils page

    Uusi näytekoodi tapahtumalle:

    setWebexcctable : function () {
                var sys_id=0;
                
                var actInfo = JSON.parse(this.getParameter('actInfo'));
                var webexcc = new GlideRecordSecure(gs.getProperty('webexccactivitytable'));
                webexcc.addQuery("u_callobject", actInfo.CallObject);
                webexcc.query();
                if(!webexcc.next()) {
                    
                    //Activities on Incident record;
                    //var actInfoString =this.getParameter('actInfo');
                    var incsysid=actInfo.incident_sys_id;
                    var interactionsysid=actInfo.interaction_sys_id;
                    var incnum="";
                    var intenum="";
                    delete actInfo['interaction_sys_id'];
                    delete actInfo['incident_sys_id'];
                    if( interactionsysid!= null && interactionsysid != undefined){
                        var inte = new GlideRecordSecure('interaction');
                        //inte.get('sys_id', interactionsysid );
                        
                        inte.addQuery('sys_id', interactionsysid );
                        inte.query();
                        if (inte.next()) {
                            intenum=inte.number;
                           // inte.setValue('state','Closed Complete');
                            inte.work_notes='Update State to closed.';
                            inte.update();
        
                        }
                    }
                    if( incsysid!= null && incsysid != undefined){
                        var inci = new GlideRecordSecure('incident');
                        inci.addQuery('sys_id', incsysid );
                        inci.query();
                        if (inci.next()) {
                            incnum=inci.number;
                            var jsonPretty = JSON.stringify(actInfo,null,2); //JSON.stringify(JSON.parse(actInfoString),null,2);  
                            inci.comments =jsonPretty;
                            inci.update();
        
                        }
                    }else{
                      var suser = new GlideRecordSecure("sys_user");
                        suser.addQuery("phone", this.getParameter('ani'));
                        suser.query();
                        if(suser.next()) {
                        var inc = new GlideRecordSecure('incident');
                                inc.addQuery('caller_id', suser.sys_id);
                                inc.addQuery('state','IN','1,2');
                                inc.orderByDesc('sys_created_on');
                                inc.query();
                                    if (inc.next()) {
                                        var jsonPretty = JSON.stringify(actInfo,null,2);  
                                        inc.comments =jsonPretty;
                                    inc.update();
        
                                }
                        } 
                    }
                   
                    
                    webexcc.u_ani = actInfo.ani;
                    webexcc.u_dnis =actInfo.dnis;
                    webexcc.u_queuename =actInfo.queuename;
                    webexcc.u_wrapuptime =actInfo.wrapuptime;
                    webexcc.u_callduration =actInfo.CallDurationInSeconds;
                    webexcc.u_ringingtime =actInfo.ringingtime;
                    webexcc.u_activitydate =actInfo.ActivityDate;
                    webexcc.u_callobject =actInfo.CallObject;
                    webexcc.u_calltype =actInfo.CallType;
                    webexcc.u_calldisposition=actInfo.CallDisposition;
                    webexcc.u_incidentnumber=incnum;
                    webexcc.u_interactionsnumber=intenum;
                    sys_id=webexcc.insert();
    
                    
                                
                }    
                return sys_id;
           },

Menetelmän muutokset käyttöliittymäsivuilla

  1. Siirry suodatinnavigaattoriin ja etsi käyttöliittymäsivu ja

    Valitse Käyttöliittymä sivut- vaihtoehto Järjestelmä käyttöliittymä-kohdasta.

    ServiceNow developer instance filter navigator with search for ‘Ui page’

  2. Suodata käyttöliittymäsivut nimellä ja etsi agentdesktop.

    ServiceNow developer instance UI Pages with Name filter applied to search.

  3. Muuta komentosar jan NowActivities- ja screenpop- toimintoa.

    ServiceNow developer instance UI Page – agentdesktop.

    Nykyinen toiminto:

    function nowActivities(actInfo, ani) {
        
        var gaout = new GlideAjax('propUtils');
        gaout.addParam('sysparm_name', 'setWebexcctable');
        gaout.addParam('actInfo', JSON.stringify(actInfo));
        gaout.addParam('ani', stripPrefixes(ani));
        gaout.getXML(SetCCsysId);
    
    
    }

    Tapahtuman näytekoodi:

    function nowActivities(actInfo, ani) {
        var sysObjstr = window.localStorage.getItem("screenpopinteraction");
        if(sysObjstr != null && sysObjstr != undefined)
        {
            var sysObjjson=JSON.parse(sysObjstr);
            actInfo.interaction_sys_id=sysObjjson.sysid;
            actInfo.incident_sys_id=sysObjjson.incsysid;
        }
        var gaout = new GlideAjax('propUtils');
        gaout.addParam('sysparm_name', 'setWebexcctable');
        gaout.addParam('actInfo', JSON.stringify(actInfo));
        gaout.addParam('ani', stripPrefixes(ani));
        gaout.getXML(SetCCsysId);
    
    
    }
    
    function screenpop(callerani,callSessionInfo) {
       
    
        if(callerani===callSessionInfo.phoneNumber){
            callerani=stripPrefixes(callerani);
        }
        
        var gaout = new GlideAjax('propUtils');
            gaout.addParam('sysparm_name', 'UserGetSysId');
            gaout.addParam('field', 'phone');
            gaout.addParam('value', callerani);
            gaout.getXMLWait();
          // var sysid = gaout.getAnswer();
          var sysObj = JSON.parse(gaout.getAnswer());
        
        if(sysObj.incsysid){
            openFrameAPI.openServiceNowForm({
            entity: 'incident',
            query: 'sys_id='+sysObj.incsysid, 
            'interaction_sys_id': sysObj.sysid  
           });
        }else{
            openFrameAPI.openServiceNowForm({
            entity: 'incident',
            query: 'sys_id=-1',
            'interaction_sys_id': sysObj.sysid  
           });
        }
        window.localStorage.setItem("screenpopinteraction",JSON.stringify(sysObj));
            
       
    }
    
    

Tulokset päivityksen jälkeen

ServiceNow developer instance Phone Logs page.

Seuraavat mukautukset koskevat versioita 1.0.5 ja sitä uudempia. Noudata yllä olevia ohjeita uudempien versioiden 1.0.7 ja uudempien versioiden mukauttamiseksi.

Mukauttaminen # 1 - Lisää mukautettuja liiketoimintasääntöjä puheluvirran käyttötapauksiin

Luo uusi tapahtumatietue jokaiselle puhelulle

Luo uusi tapaustietue jokaiselle uudelle puhelulle WebExCC CRM -liittimeen ServiceNowissa.

  1. Liiketoimintasääntöjen etsiminen suodatinnavigaattorista

    ServiceNow developer instance Business Rules page header.
  2. Valitse Uusi.

    ServiceNow developer instance Business Rule – New Record.

    Näytekoodi viitteeksi:

    function customcti() {
                var url = null;
                var name = sysparm_caller_name;
                eid = sysparm_caller_id;
                var phone = sysparm_caller_phone;
                var taskID = sysparm_task_id;
                var fQuery = sysparm_query;
                if (fQuery == null)
                   fQuery = '';
                var view = sysparm_view;
                if (view == null || view == '')
                    view = "itil";
     
                var userID = null;
                if (eid != null && eid != '') {
                    userID = UserGetSysId("employee_number",eid);
                }
                if (userID == null && name != null && name != '') {
                    userID = UserGetSysId("name", name);                
                }
                if (userID == null && phone != null && phone != '') {
                    userID = UserGetSysId("phone", phone);
                }
     
                if (userID != null) {
                    if (fQuery.length > 0)
                        fQuery += "^";
                    fQuery += "caller_id=" + userID;
                }
                if (url == null) {
                    url = "incident.do?sys_id=-1";
                    if (fQuery != null)
                       url += "&sysparm_query=" + fQuery;
                }
                answer = url;
                return url;
    }
     
    function UserGetSysId(field, value) {
      var user = new GlideRecord("sys_user");
      user.addQuery(field, value);
      user.query();
      if (user.next())
         return user.sys_id;
      else
         return null;
    }

    Liiketoimintasäännön esimerkkikonfiguraatio

    ServiceNow developer instance Business Rule – CTI Processing For Incident page as a sample configuration of the business rule.
  3. Ota asiakasta soitettava käyttöön

    ServiceNow developer instance Business Rules page with the Personalized List Columns popup screen showing ‘Client callable’ in the ‘Selected’ column.

    Computer Telephony Integration (CTI) Processing for Incident on merkitty arvok si True.

    ServiceNow developer instance Business Rules page showing the Client callable column with options to select ‘true’ or ‘false’
  4. Päivitä screenpop-URL-osoite mukautetulla CTI-säännöllä "cti.do? sysparm_cti_rule=Luo sattuman& = "sysparm_caller_phone

    System Property page for screenpop_url showing update to the custom CTI rule in the ‘Value’ field.
Esimerkki

sysparm_cti_rule=name, jossa 'name' on funktion nimi, on käytettävä CTI-käsittelyä varten oletuskomentos arjan käyttämisen sijaan.

Määritä toiminto merkinnässä, joka sys_scripton merkitty asiakassoitettavaksi.

Jos sinun on lisättävä, päivitettävä tai poistettava funktioon GlidereCord (t), soita erillinen ei-asiakassoitettava toiminto suorittaaksesi päivitykset.

Jos haluat tehdä komentosarjan asiakassoitettavaksi, sinun on valittava asiakassoitettava -valintaruutu lomakkeessa, joka tulee näkyviin, kun merkintä näytetään. sys_script

Client-callable -valintaruutu ei näy oletusarvoisesti. Jos haluat tarkastella, sinun on muokattava lomakkeessa näkyviä kenttiä rataskuvakkeen ja slush ämpärin mekanismin avulla.

Referenssit

Mukauttaminen # 2 - Lisää CAD-muuttuja Webex Contact Center -toimintotaulukkoon

Yleiskatsaus

Tässä artikkelissa kuvataan prosessi, jolla lisätään ylimääräinen sarake ServiceNow-taulukkoon - webexcc_activity joka luodaan Webex CC for ServiceNow CRM Connector -asennuksen yhteydessä.

Oletusarvoisesti taulukko sisältää valmiit järjestelmäkentät ja arvot.

Voit mahdollisesti luoda enemmän liiketoimintakohtaisia muuttujia (CAD-muuttujia) WebExCC Flow Designer -sovelluksessa ja lisätä nämä CAD-muuttujat ServiceNow-puhelun jälkeiseen toimintalokiin ja säilyttää ne puhel un jälkeisten toimintojen taulukon tietoihin.

  • Tämä on vain viitedokumentaatio - ja se näyttää, miten tämä tehdään CAD-esimerkkimuuttujalle nimeltä Customer Name, joka tallentaa asiakkaan nimen IVR: ään ja lähettää sen ServiceNow-palveluun.

  • Kumppani+asiakaspalveluNow-kehittäjät määrittävät ja hallitsevat tätä kokoonpanoa, koska se on mukautus olemassa olevaan liittimeen.

  • Cisco tarjoaa vain tekniikat liittimen mukauttamiseen ja laajentamiseen.

  • Tästä artikkelista lähtien, Cisco-tiimi on vahvistanut tuen CAD-muuttujan lisäämiselle toimintalokiin ja toimintotaulukkoon alla kuvatulla tekniikalla.

Lisää sarake WebExCC-toimintaan
  1. Muokkaa taulukkoa ServiceNowin kehittäjäversiossa.

    ServiceNow developer instance Table – WebexCC Activity page.
  2. Siirry kohtaan Studio > Webex Contact Center.

    ServiceNow developer instance filter navigator search for ‘studio’  highlighting the cross launch search result for ‘App Engine Studio’

    App Engine Studio Select Application screen showing Webex Contact Center in the search results.

    App Engine Studio Webex Contact Center screen.

  3. Valitse WebExcc-aktiviteettitaulukko.

    App Engine Studio WebexCC Activity table.
  4. Esimerkiksi CustomerName.

    App Engine Studio WebexCC Activity table column edit example for ‘CustomerName’ column.

    App Engine Studio WebexCC Activity table screen.

  5. Valitse WebExCC- toiminnon luettelon asettelu.

    App Engine Studio WebexCC Activity table list layout showing ‘CustomerName’ highlighted in the ‘Selected’ column.
Luo uusi komentosarja Sisältää

Tätä vaihetta ei vaadita, jos käytät päivityssarjan XML - Vain yksi rivi on lisättävä "webexcc. u_customername=ActInfo.CustomerName "kohtaan PropUtils.

ServiceNow developer instance filter navigator search for ‘script includes’

ServiceNow developer instance Script Includes page with ‘Application’ in the filter.

ServiceNow developer instance Script Includes – New Record page.

Näytekirjoitus

Katso rivi: webexcc. u_customername=ActInfo.Customer Name; tukevalla kommentilla.

var propUtils2 = Class.create();
propUtils2.prototype = Object.extendsObject(global.AbstractAjaxProcessor,{
         getWebexccProp : function () {
           var webexccprop = {};
           webexccprop.instanceurl= 'https://'+gs.getProperty('instance_name')+'.service-now.com/';
           webexccprop.url=gs.getProperty('x_caci_webexcc.agentdesktop_url');
           webexccprop.popupurl=gs.getProperty('x_caci_webexcc.screenpop_url');
           return  JSON.stringify(webexccprop);
      
        },
        setWebexcctable : function () {
            var sys_id=0;
             
            var actInfo = JSON.parse(this.getParameter('actInfo'));
            var webexcc = new GlideRecordSecure(gs.getProperty('x_caci_webexcc.webexccactivitytable'));
            webexcc.addQuery("callobject", actInfo.CallObject);
            webexcc.query();
            if(!webexcc.next()) {
                webexcc.ani = actInfo.ani;
                webexcc.dnis =actInfo.dnis; 
                webexcc.queuename =actInfo.queuename;
                webexcc.wrapuptime =actInfo.wrapuptime;
                webexcc.callduration =actInfo.CallDurationInSeconds;
                webexcc.ringingtime =actInfo.ringingtime;
                webexcc.activitydate =actInfo.ActivityDate;
                webexcc.callobject =actInfo.CallObject;
                webexcc.calltype =actInfo.CallType;
                webexcc.calldisposition=actInfo.CallDisposition;
 
               // This line is Added - to capture it in the Activity Log
               webexcc.u_customername=actInfo.CustomerName;
 
                sys_id=webexcc.insert();
  
                // Activities on Incident record;
                var actInfoString =this.getParameter('actInfo');
                var suser = new GlideRecordSecure("sys_user");
                    suser.addQuery("phone", this.getParameter('ani'));
                    suser.query();
                    if(suser.next()) {
                    var inc = new GlideRecordSecure('incident');
                            inc.addQuery('caller_id', suser.sys_id);
                            inc.orderByDesc('sys_created_on');
                            inc.query();
                                if (inc.next()) {
                                    var jsonPretty = JSON.stringify(JSON.parse(acting string),null,2);  
                                    inc.comments =jsonPretty;
                                inc.update();
                                 }
                    } 
            }    
            return sys_id;
       },
 
    type: 'propUtils2'
});
Muokkaa käyttöliittymäsivua uudella komentosarjan nimelläApp Engine Studio agentdesktop UI page with new script name.

CAD-muuttujan luominen Flow Designer -sovelluksessaWebex Contact Center flow designer with Add Flow Variable popup showing adding a CustomerName variable.

CAD-muuttujan lisääminen työpöydän asetteluunWebex Contact Center CAD variable to the desktop layout script with ‘CustomerName:CustomerName’ highlighted.

Demo kuvakaappaukset

Tarkastele äskettäin lisätty CAD-muuttuja WebExCC Activity -taulukossa.

ServiceNow developer instance showing newly added CAD variable in the WebexCC Activity table.

ServiceNow developer instance WebexCC Activities screen.

CRM-liitin toimii työpöydän asettelun JSONissa määritetyn widgetin version perusteella. On erittäin tärkeää varmistaa, että työpöydän asettelun widget-versio pidetään ajan tasalla.

Järjestelmänvalvojien odotetaan varmistavan, että kaikki tämän CRM-liittimen työpöytäasettelut käyttävät tätä widget-versiota. If the layout is not updated to use the latest version, functionality will no longer be supported and may cease to work correctly.

  • Viimeisin ServiceNow päivitys— ServiceNow_Desktop_0 .1.0_v5.0.3.json. Maaliskuusta 2024 alkaen pakettiversio on 1.0.9
  • Viimeisin XML-päivitys — WebExcc-ServiceNow-Update-SetV7-1-ActionsWidget.xml, kesäkuu 2024

Oliko tästä artikkelista apua?
Oliko tästä artikkelista apua?