- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2022 11:00 AM
"Cause notes" from RCA Task should be copied to "cause notes" in Problem record
"Workaround" from RCA Task should be copied to "workaround" in Problem record
"Problem fix notes" from RCA Task should be copied to "fix notes" in Problem record
all above should be done when problem task is closed
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2022 12:00 PM
(function executeRule(current, previous /*null when async*/) {
var problem = new GlideRecord('problem');
problem.get(current.problem);
problem.cause_notes = current.cause_notes;
problem.workaround = current.workaround;
problem.fix_notes = current.fix_notes;
problem.update();
})(current, previous);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2022 11:14 AM
Use an After or Async Busines Rule on the RCA Task table. I'm not positive on the following field names, but the idea should work.
current.parent.cause_notes = current.cause_notes;
current.parent.workaround = current.workaround;
Aoife
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2022 09:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2022 12:00 PM
(function executeRule(current, previous /*null when async*/) {
var problem = new GlideRecord('problem');
problem.get(current.problem);
problem.cause_notes = current.cause_notes;
problem.workaround = current.workaround;
problem.fix_notes = current.fix_notes;
problem.update();
})(current, previous);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2022 12:39 AM
Thanks Aoife, its working.