Email notification with only selected options from select box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2024 08:47 AM
Hi,
I have a problem with the email that asks for approval.
Item has 3 Select boxes and depending on the first one, the remaining 2 appear.
I would like the notification to show only what the user has selected, not everything.
How can I achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2024 11:33 PM
only here an email script has already been created that iterates through all the variables and puts them in the email if they are not empty.
And with variables that are select boxes, there is never an empty option because even if there is no selection, some option is selected by default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2024 10:53 PM
Below post could be helpful :
https://www.servicenow.com/community/csm-forum/how-to-hide-a-field-in-email-notification/m-p/391958
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.