- 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2016 04:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2016 02:35 AM
Hi kaur,
May be on that table you do not have read acl. Please check the acl and try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2016 02:58 AM
Hi balaji,
There are ACLs configured for write and create operation with role assessment_admin.
Will this make any difference while creating a new record through business rule.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2016 03:01 AM
Also I cannot do any changes in the ACL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2016 03:07 AM
Hi ,
from where you fetching data ? from Catalog or from table?