Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2024 08:56 AM - edited 12-07-2024 08:58 AM
Hi,
I am writing Business Rules to Copy Work Notes from Problem to Incident. Description and Short Description work fine, but Work Notes is not working. Kindly help.
(function executeRule(current, previous /*null when async*/) {
var gr = new GlideRecord('incident');
gr.addQuery('problem_id', current.sys_id);
gr.query();
while(gr.next()){
gr.work_notes = current.work_notes;
gr.update();
}
})(current, previous);
Regards
Suman P.
Solved! Go to Solution.