Implementation of a IT-Kiosk with Walk-Up Experience on Service Portal

TC2201
Kilo Contributor

Hi. For an apprenticeship project, I try to add an IT Kiosk in a Service Portal in using Walk-Up Experience ServiceNow application and set-up the application according to requirements of the project.

To do this, I tried to clone the widget Online Check-In and after some issues, I have copied Angular ng-templates to the cloned widgets

find_real_file.png

, but what I don't still understand is when I try to access to my digital_centre page(the name of my IT Kiosk according to specification requirements) is I'm redirected directly to a location with an url containing a location id paramater, without passed through the page to select the "location" in dropdown list.

Moreover, the page is empty and the component proposing to join a waiting queue is not available.

find_real_file.png

When I use the original widget "Online check-in experience", I'm also redirected directly to a location without have in the first place a dropdown list to choose my location, but the widget to join a waiting queue is displayed on the page.

find_real_file.png

However, contary to this image found on another topic, the tab "Schedule an Appointment" doesn't appear, amond some other informations.

find_real_file.png

I would like to understand why I'm redirected directly to a location id without to be asked for the location I want in a dropdown list, why the component to join a queue and Schedule an appointment tab are not displayed on the page, even in the original widget. 

Thank You in advance to those who could bring me a helping hand.

17 REPLIES 17

Hi,

For closing the topic you can click on accept solution on one of my response.

It should be record inserted/updated in the send when, I don't think there is a requirement to trigger an event. 

So as you mentioned in the query you can give answer = true;. Instead of calling an event. So whenever there is a new record created, it will check the amount of records we have, if they are less than 5, this notification will be triggered.

Regards,

Deepankar Mathur

TC2201
Kilo Contributor

Hi. I have tried to create yesterday several users to my kiosk, assigned agents to them and close interactions by each agent one by one until there is only 4 persons unassigned in the list for a location, but when I connect with account of one of remaining users in the queue, I don't still receive the notification : 

find_real_file.png

Just to be sure of the process, I have to put my code : 

try{

sendNotification();

}

catch(e){

gs.log('Error : '+ e.message);

}

function sendNotification(){

var gr = new GlideRecord('interaction');
gr.addQuery('type', 'walkup');
gr.addQuery('state',' work in progress');
gr.addQuery('active', true);
gr.query();
var count = gr.getRowCount();

     if(count < 5) {

         while(gr.next()){

             answer = true;

          }

    }

}

in When To Send > Advanced Condition block : 

find_real_file.png

check inserted and updated for the trigger.

find_real_file.png

and when the number of new, unassigned persons in the queue falls benetath five, the notification would be sent to the different users in the queue ?

Have I forgotten a step in my process ?

 

 

 

Just to be sure that the process is good, I have need to put this code in "advanced condition" block of my notification : 

try{

sendNotification();

}

catch(e){

gs.log('Error : '+ e.message);

}

function sendNotification(){

var gr = new GlideRecord('interaction');
gr.addQuery('type', 'walkup');
gr.addQuery('state',' work in progress');
gr.addQuery('active', true);
/*gr.addQuery('location', current.location);*/
gr.query();
var count = gr.getRowCount();

if(count < 5) {

   while(gr.next()){

       answer = true;

   }

}

}

precise the content of my notification in "what will contain" block :

find_real_file.png

find_real_file.png

TC2201
Kilo Contributor

Thank You in advance for your response and the process to close a topic.