How to access variables in multi row variableset scripts

MounikaS
Tera Contributor

In cat item have few variables and variable sets

there is one field called classification in catalog form and after clicking on add button multi row form will open with variables.

I want to fetch value we have in classification variable. can anyone of you please help with the script as it is MRVS i am not able to fetch with g_Form.getvalue

1 ACCEPTED SOLUTION

asifnoor
Kilo Patron

Hi @MounikaS 

 

It is not straightforward. But i had done this once in our project by using session variables. Here is the article, which shall help you to achieve this.

https://www.servicenow.com/community/developer-articles/populate-the-value-of-a-field-of-catalog-ite...

 

Mark the comment as a correct answer and helpful if this has helped you to solve the problem.

View solution in original post

2 REPLIES 2

Sagar Pagar
Tera Patron

Hi @MounikaS,

 

Take a look at this article: Accessing Multi-Row Variable Set value outside the Multi-Row Variable Set [Catalog Item, Client Sid... 

Accessing Multi-row variables set client side in ServiceNow 

 


If my response helps you resolve your issue. Kindly mark it as helpful & correct. It will be helpful to future readers! 👍🏻
Thanks,
Sagar Pagar

The world works with ServiceNow

asifnoor
Kilo Patron

Hi @MounikaS 

 

It is not straightforward. But i had done this once in our project by using session variables. Here is the article, which shall help you to achieve this.

https://www.servicenow.com/community/developer-articles/populate-the-value-of-a-field-of-catalog-ite...

 

Mark the comment as a correct answer and helpful if this has helped you to solve the problem.