Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

multi row variable set

GPavanKumK
Tera Contributor

Hi 

 

I'm working on MRVS  I'm facing the issue here that i'm given type as multi row if I check global option in one variable then i'm getting this issue the attachments are below and after selecting the replacement device and serial number showing same details after adding.

3 REPLIES 3

SohamTipnis
Mega Sage

Hi @GPavanKumK,

 

This issue is happening because you have enabled the Global option for a variable inside your MRVS in ServiceNow. When a variable is set as global, it does not store values separately for each row — instead, it shares the same value across all rows.

That’s why when you select the replacement device and serial number in one row, the same values are automatically appearing in the next row after clicking Add.
To fix this, just open those variables and uncheck the global option. After that, each row will behave independently and allow different values.


In short, global variables are shared, but MRVS needs separate values per row, so removing global will solve your issue.

 

Let me know if this works!! 😉

 

If you find my answer useful, please mark it as Helpful and Correct. ‌‌‌‌😊


Regards,
Soham Tipnis
ServiceNow Developer || Technical Consultant
LinkedIn: www.linkedin.com/in/sohamtipnis10

Hi Soham,

 

but in my requirements i need to user variable type to be multi row variable set, now i'm  trying to un check the global option in both variables and when in select the replacement device and serial number are not capture in that row.  

Ankur Bawiskar
Tera Patron

@GPavanKumK 

what's the question? what's your requirement?

You have MRVS with 2 variables in it.

what next?

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