Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to populate variable value automatically based on MRVS on catalog item

AA66
Tera Contributor

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 ...

 

 

 

AA66_1-1741248793058.jpeg

For Example, if i add two rows in Multi-Row Variable set,  

UserEmailManager
Amula@gmail.comHari
Bharathb@gmail.comMahesh

User column data should be autopopulated on "Employee Details" variable which is on catalog form.

 

Thanks,

Apoorva

 

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@AA66 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader