The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Adding a counter to track total records entered in a multi-row Variable Set

Tyler Johnson
Tera Expert

Hello,

 

Currently i have a multi row variable set on a catalog item to allow the input of First and last name. Is there a way that i can add a secondary variable that acts as a counter to this multi row? Ex. If two users are added into the Multi row then the number 2 will populate in the counter variable? 

2 REPLIES 2

S Goutham
Tera Guru

Hi @Tyler Johnson :
Can you state the purpose of your counter? if it is for restriction of the no of rows that can added we have an attribute "max_rows=10" that can be used to achieve it 

I hope this solves your issue
Mark this as Helpful / Accept the Solution if this clears your issue

Community Alums
Not applicable

Hi @Tyler Johnson ,

This is going to be a custom solution as there is nothing OOTB available to meet your requirement.

You can refer to the solution provided :https://www.servicenow.com/community/developer-forum/how-to-count-the-records-added-in-multi-row-var...