- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2017 03:45 AM
when agent enter work notes or comments in TASK it copies to its RITM, is it possible to copy the same comments/work notes from TASK to REQUEST.
I have written script in BR
(function ExecuteRule(current.previous /*null when async*/)
{
var gr=new GlideRecord('sc_request);
if(gr.get(current.parent))
{
gr.work_notes=current.work_notes;
gr.update();
}
}
)(current,previous);
its not working, can someone provide solution for this.
PFA
TASK and RITM are sync not for REQUEST
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2017 03:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2017 02:00 AM
gr.work_notes= current.number + current.work_notes.getJournalEntry(1);