i want to map Mutli row variable set fields with mu custom table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2025 11:42 PM
current.owner = producer.owner;
current.type = producer.type;
current.module = producer.module;
current.project = producer.project;
current.priority = producer.priority;
current.state = producer.state;
current.month = producer.month;
current.requirement_date = producer.requirement_date;
current.dev_start_date = producer.dev_start_date;
current.prod_migration_date = producer.prod_migration_date;
current.expected_end_date = producer.expected_end_date;
current.actual_end_date = producer.actual_end_date;
current.uat_date = producer.uat_date;
current.remarks = producer.remarks; this is the script u have out all variables name proper then to its not mappping to my table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2025 12:26 AM
Hi @alishamulan
MRVS data is stored in JSON format so to access it, you would need to parse it and map it to appropriate fields.
Here is sample example for your reference:
var FR = producer.<MRVS_name>;
var arr = [];
var parsedData = JSON.parse(FR);
for (var i = 0; i < parsedData.length; i++) {
current.owner =parsedData[i].owner;
current.type=parsedData[i].type;
.....
.....
}
Regards,
Abhijit
ServiceNow MVP
ServiceNow Buddy Owner: snbuddy.com
Regards,
Abhijit
ServiceNow MVP