Virtual Agent Survey Satisfaction Smileys Name Removal

Rashid Yakhyaev
Mega Expert

Hello!

I have a question regarding Virtual Agent Satisfaction Survey. 

The client wants to remove text below the satisfaction smileys, originally it says Good, Neutral and Bad.

find_real_file.png

I found that I can change the value that is displayed, "Good", in Survey -> View Surveys -> Virtual Agent Satisfaction Survey -> under Metric Categories -> Virtual Agent Satisfaction Survey -> Assessment Metrics -> Assessment Metrics Definitions.

find_real_file.png

When I deactivate mandatory on the Display field and remove the text "Good", I get the value of "Null" displayed.

find_real_file.png

If I deactivate "active" and "display" in the "configure dictionary" of the Display field, the integer 1 is displayed, which is the value of "Good".

find_real_file.png

 

The client wants to remove the text and to only have the satisfaction smileys showing. Is there a way to achieve this?

Thank you!

1 ACCEPTED SOLUTION

Viraj Hudlikar
Tera Sage

Hi @Rashid Yakhyaev ,

First of all the changes you did should be reverted as it will affect your Survey system globally.
As per your requirement you need to do changes in your Virtual Agent Designer for Topic "Provide Virtual Agent Feedback".
Open this topic and click on edit topic flow button. Once your are in you will see flow there do find Script Action Utility named as "Set Next Question" and then open Action Expression as highlighted in below screen shot:   

 

find_real_file.png 

Once you inside it do changes in your code as per below screen


find_real_file.png

 

I have not added value as blank as Murali suggested as it will cause an issue while recording the value in response and it will affect your data.

After that save topic and test it will work as per your requirment.

Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.

Thanks & Regards,
Viraj Hudlikar.

 

 

 

 

View solution in original post

7 REPLIES 7

D van Heusden
ServiceNow Employee
ServiceNow Employee

Without looking into it a, maybe ugly, workaround could be to use a whitespace.

Muralidharan BS
Mega Sage
Mega Sage

Hi Rashid,

I tried updating empty value in the display and value field but it is not working and it started showing "no_data". 

I tried this and it seems working, go to > show image scale question and update the display and value field. 

options.push({
'Name': ' ',  //this has a space char in the double quotes
'Value': ' ', //this has a space char in the double quotes
'Body': c.unselected
});

Result:

find_real_file.png

 

Thanks

Viraj Hudlikar
Tera Sage

Hi @Rashid Yakhyaev ,

First of all the changes you did should be reverted as it will affect your Survey system globally.
As per your requirement you need to do changes in your Virtual Agent Designer for Topic "Provide Virtual Agent Feedback".
Open this topic and click on edit topic flow button. Once your are in you will see flow there do find Script Action Utility named as "Set Next Question" and then open Action Expression as highlighted in below screen shot:   

 

find_real_file.png 

Once you inside it do changes in your code as per below screen


find_real_file.png

 

I have not added value as blank as Murali suggested as it will cause an issue while recording the value in response and it will affect your data.

After that save topic and test it will work as per your requirment.

Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.

Thanks & Regards,
Viraj Hudlikar.

 

 

 

 

Hi @Viraj Hudlikar , thank you for your reply!

Yes I did revert the changes. 

I am new to ServiceNow development, so I might be missing something but I guess that you have configured the "Provide Virtual Agent Feedback" topic because mine looks different OOTB. (See image below).

 

I am also missing the Script Action Utility named as "Set Next Question" when I try to edit the topic.

What am I missing?

Thank you