How to populate variable value automatically based on MRVS on catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2025 12:16 AM - edited 03-06-2025 05:44 AM
Hi Team,
I have MVRS named User details, and one variable called "employee details". so based on user details from MVRS , employee details field outside MVRS should be auto populated.
Any solutions on this ...
For Example, if i add two rows in Multi-Row Variable set,
User | Manager | |
Amul | a@gmail.com | Hari |
Bharath | b@gmail.com | Mahesh |
User column data should be autopopulated on "Employee Details" variable which is on catalog form.
Thanks,
Apoorva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2025 08:45 PM
if you want it to populate only once at the end then use onSubmit catalog client script as shared by @Tai Vu
If you want to add real-time then check these links on how to detect add/remove and then update the outside variable
Widget that reacts to onChange event of Variable
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