Populate a variable fetching data from multi row variable set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 09:57 AM
API Variable should be populated in the following format <Fetch the values from MRVS>:
<member[1].email>;;
<member[2].email>;;
and so on.
No. of values in MRVS -> no .of lines in API variable.
Name of the MRVS is Members of the distribution list.
Please find the attachment.
I tried this on change catalog client script on changing the MRVS value but not able to execute this :-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 09:06 PM
so you want onChange or on addition of row you want to populate the multi-line variable
onChange on MRVS doesn't work like that
you need to detect the add/remove action and then have the logic
check this link and enhance
MRVS detect when a row is removed or deleted
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2025 12:44 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader