Display reference field value into string fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2018 02:23 PM
My script is not working:
var one = current.u_group.getDisplayValue();
var gr=new GlideRecord('sysapproval_approver');
gr.addQuery('document_id', current.sys_id);
gr.query();
if(gr.next())
{
gr.u_kb_group=one;
gr.update();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2018 11:50 AM
it is not working in my environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2018 11:51 AM
Hmm, can you try to reproduce the same thing in your personal Dev?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2018 10:54 AM
Hi Dylan,
i requested here, when Approver record is created in KB then immediately Group name should be copied in to u_kb_group( in Approver record)
as like this aroundly 5 approver records will be created so when approver record created then immidiatly reflect value in Approver (u_kb_group) field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2018 10:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2018 10:45 AM
Let me know if it's your PDI, I can have a look.
