- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2023 11:13 PM
Hi All ,
I have 1 requirement i.e: in interaction table1 reference field is created and the reference field refers to incident table records. now in interaction table if transcript field is updated then the same data needs to add a work note of the associated incident record. so can someone help me how to do it.
i used the following script. but it did not worked.
var gr = new glideRecord('incident');
gr.addQuery('sys_id', current.u_reference field);
gr.query();
if(gr.next())
{
gr.work_notes = current. transscript.toString();
gr.update();
}
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2023 11:19 PM
Hi Suresh,
You can try using
gr.work_notes.setJournalEntry(current. transscript.toString());
//ensure the transscript field has valid dictionary name used correctly

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2023 11:19 PM
Hi Suresh,
You can try using
gr.work_notes.setJournalEntry(current. transscript.toString());
//ensure the transscript field has valid dictionary name used correctly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2023 11:37 PM
Thank you for your fast response jaspal singh