- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 10:14 AM
Currently I have a BR called Work notes to RITM. This will copy what was put in the task under work notes and pull that up to RITM.
Here is the script:
What do I need to add to the script so additional comments (customer visible) gets copied up to RITM as well?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2017 10:15 PM
Hi John,
Not sure of already got the answer, got some time to do some testing as I promised and here is the test it did:
Type: Business Rule
Table: sc_task
Parameters: Run: Before insert and update
Filter Conditions: Additional comments or work notes changes
Script:
cascadeComment();
function cascadeComment(){
var gr=new GlideRecord("sc_req_item");
gr.get(current.request_item);
gr.work_notes=current.work_notes;
gr.comments=current.comments;
gr.update();
}
And I can see comments and work_notes are updated in activity formatter. Try this and see if this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 10:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 10:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 10:57 AM
Hey John,
If you right click additional comments (customer visible) one what name its shows? Also can you make a different view or modify this one to just have additional comments and remove the one you are dot walking from request item and see how your form looks like. Also on which build you are on?
Shruti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 11:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 11:05 AM
Hmm can you remove other additional comments and comments and work_notes you are dot walking