How to store record producer Muti row variables set in custom table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2020 09:43 PM
Hi Team,
I am using multi row variable set in record producer, we are able to insert the data from Catalog item but we are not able see that data once record generated in the portal.
Please help me to understand how to store record producer multi row variable set in custom table.
Appreciate your response.
Thanks & Regards
Harish
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 01:57 AM
Is this answered?
if my answer helped you, kindly mark it as ✅ Correct & 👍Helpful so that it does not appear in unanswered list & close the thread.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2022 03:18 PM
We are hitting an issue where the record producer creates all of the rows (targeted at the same table) but is first adding an extra row with null values into the target table, any suggestions to resolve this are appreciated.
var variableValue = producer.mvs_nac_detail;
var parser = JSON.parse(variableValue);
var gr = new GlideRecord('x_ohhr_nac_outb_outbound');
for(var i=0;i<parser.length;i++){
gs.info("NAC Parser" + parser.length);
gr.initialize();
gr.mac_address = parser[i].mac_address;
gr.host_name = parser[i].host_name;
gr.host_role = parser[i].host_role;
gr.device_type = parser[i].device_type;
gr.serial_number = parser[i].serial_number;
gr.insert();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 08:45 AM
Hello
How can we store in MRVS record in html table format in notification ? Please let me know the process.