Show Multirow Variable set under variables tab

Samyak Jain1
Tera Contributor

Hi All,

I need your help in showing multirow variable set in native view when agent creates a case from backend under variables tab as below

SamyakJain1_0-1742293523740.png

 

 

Note - This catalog is hidden from the Portal for everyone

 

I am successful in showing the variables under the variable Tab by inserting record in "question_answer" table and "sc_multi_row_question_answer" but it is not coming as multi row variable set

 

Any help would me much appreciated

Thank You!

1 ACCEPTED SOLUTION

@Samyak Jain1 

So without they filling how are they planning to fill the variables on the form?

The variable editor will be shown only when record is generated via record producer.

Are you saying they want to create New record using New button from table list and there they want to see Variable editor and they will fill the variables from there?

If yes then it's not a good practice

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

View solution in original post

12 REPLIES 12

Hi @Samyak Jain1 ,to see variables in a custom form - you will need variable editor formatter in your form, and OOB, the Variable Editor is only available for Incident, Change, Request Item, and Service Catalog Task.

Determining whether the Variable Editor is added to a form - Support and Troubleshooting

Thanks for you reply @GopikaP 

Ankur Bawiskar
Tera Patron
Tera Patron

@Samyak Jain1 

this is for record producer?

I didn't get your exact business requirement.

Your catalog item is visible only in native and you have MRVS in it?

Why can't users submit the record producer with MRVS data in it directly?

why are you creating it via script?

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

Thanks for you reply @Ankur Bawiskar 

 

Yes, we have created record producer and made it hidden always for everyone from Portal. In the record producer we have created one variable set which we want to make it visible under variables section which is usually visible when we create case from portal. We have created the record producer just to enable the functionality of showing the variable section and under that section we need to show variable set. As user cant create case from portal so we have made the variable section always visible for our category.

 

Yes, Agent can create case from backend only where we have mapped the record producer with one field named category and they want to fill the variable set details from Native UI

 

Problem : We are able to show Variable section + other Variables but not able to show variable set. Multi Row Variable set is not coming as below instead of this each variable of multi row variable set is coming as a single single variable

SamyakJain1_0-1742296118701.png

 

@Samyak Jain1 

Will those users not submit the record producer with MRVS populated?

I didn't get your actual problem here.

Even if they submit the record producer without MRVS being filled the MRVS should still show as it is in the variable editor

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