- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 04:41 AM
Hi , I have a requirement to print the u_questionaire field of request item in a notifcation
I have wrtitten a email script in that iam using this
I am using this script :
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 09:45 PM
@avinashdubey103 can you please share screenshot of your record that is storing this value on form?
Is it storing data on separate lines in Questionnaire field?
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 05:11 AM
it is printing the same way , not on the next line

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 09:45 PM
@avinashdubey103 can you please share screenshot of your record that is storing this value on form?
Is it storing data on separate lines in Questionnaire field?
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 09:47 PM
thanks for the help , the requirement is kept on hold now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 04:49 AM
Hi @avinashdubey103 ,
what is the field type of the variable?
try like below script
var u_questionnaire_value =current.variables.u_questionnaire.toString();
ServiceNow Community MVP 2024.
Thanks,
Pavankumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2023 04:56 AM
string