Survey Question String Value

kyle_laurel
Kilo Contributor

Hello Everyone,

My question revolves around the assessment instance question form after a survey has been submitted. Currently when someone submits a survey with a choice value, the answers will return with an integer value.

If someone was to review the answers in the assessment instance question form, they would only see 1,2,3, etc. and I am wondering if anyone had configured the questions to show the string value for choices also.

For example:

If my choices were, 1 - Yes, 2 - No, 3 - Partial, then I would want the assessment instance question form to display both the integer and the string value.

Thanks,

1 ACCEPTED SOLUTION

yetesh_ch
ServiceNow Employee
ServiceNow Employee

Hi Kyle,



You can customize saveResponse() function in processing script of assessment_take2 UI Page. But we would encourage you to use asmt_metric_result table to see the results of your survey instance.


View solution in original post

4 REPLIES 4

yetesh_ch
ServiceNow Employee
ServiceNow Employee

Hi Kyle,



You can customize saveResponse() function in processing script of assessment_take2 UI Page. But we would encourage you to use asmt_metric_result table to see the results of your survey instance.


Awesome thank you! This is exactly what I was looking for.


Hi @kyle_laurel ,
can you please explain, what exact changes you have done in saveResponse() function from UI Page.

 

Thank you !!

Hi @kyle_laurel ,
can you please explain, what exact changes you have done in saveResponse() function from UI Page.

 

Thank you !!