Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2016 02:24 AM
I am trying to insert a new record to another table.
Issue is the record gets inserted but with the blank values.
var gr = new GlideRecord('asmt_m2m_category_assessment');
gr.initialize();
gr.assessment_record = current.vendor;
gr.category = current.u_it_resource_subtower;
gs.addInfoMessage(gr.assessment_record);
gs.addInfoMessage(gr.category);
gr.insert();
Output : for assessable record : sysid
gr.category : correct value
But the record created in the table does not have any value for any of the two columns.
Solved! Go to Solution.