I have to create a survey where I have to show the RITM number , resolved by and short description

Shivangi Singh2
Tera Contributor

Hi Community Experts ,

I need your help in creating a survey.

In the survey I have to show few information on the top as RITM Number , Resolved By and short description when user click on survey link .

Look of the survey would be like 

 

Ticket number: (Prepopulated) Dynamic according to RITM or INC

Short Description: (Prepopulated) Value from same RITM

Resolved by: (Prepopulated) Value from same RITM

 

How would you rate the service received?

Thumbs up image              Thumbs Down Image

In case of thumbs down ,a text has to appear that sorry for not meeting the expectations.

 

Can anyone please help . nothing is working 

I have searched , but no luck , not sure if scripting will work here , if it will then how?

in the data type i can see reference type but not sure if that could help in achieving the requirement , cause it is giving me option to select but how do I restrict to current RITM.

 

Any help ,idea , advise would be great.

 

 

6 REPLIES 6

Tai Vu
Kilo Patron
Kilo Patron

Hey @Shivangi Singh2 

For this part of your requirement:

How would you rate the service received?
Thumbs up image     Thumbs Down Image
In case of thumbs down, a text has to appear that says "Sorry for not meeting the expectations."

You can achieve this using the Multiple Selection question type, adding the question text only. Then, configure the “Depends on” condition to show the question when “Thumbs Down” is selected.

 

Screenshot 2025-05-26 at 17.42.31.png

Ref: https://www.servicenow.com/community/developer-forum/non-question-text-for-survey-designer/m-p/15774...

 

For the section:

  • Ticket number: (Prepopulated)

  • Short Description: (Prepopulated)

  • Resolved by: (Prepopulated)

You'd need to customize the “take_assessment” widget for Service Portal, and the UI Page “assessment_take2” in the platform view to retrieve Trigger Record data based on the Assessment Instance ID and display accordingly.

 

Cheers,

Tai Vu

Shivangi Singh2
Tera Contributor

@Tai Vu 

Thank you for the reply .

This part is done already -

How would you rate the service received?

Thumbs up image              Thumbs Down Image

 

For this part I am not able to show any label text when selecting thumbs down image.

 

For the section:

  • Ticket number: (Prepopulated)

  • Short Description: (Prepopulated)

  • Resolved by: (Prepopulated)

You'd need to customize the “take_assessment” widget for Service Portal, and the UI Page “assessment_take2” in the platform view to retrieve Trigger Record data based on the Assessment Instance ID and display accordingly.

 

Is there any other way than configuring widgets and Ui Pages ?

I will really appreciate if you know any other way ,else can you help me with sample code for prepopulation on portal as I don't have much knowledge on SP