How to copy close notes to addition comment while closing the sc task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 02:59 AM
As per the requirement when we close the task then the close notes should be auto copied to "additional comment", how can i do this please suggest.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 03:05 AM
Hi,
I would suggest you create a Business rule, that copies the field value, with a condition on task close.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 05:20 AM
Coud you please give me the code to acheive this as my BR is not working on it.
(function executeRule(current, previous /*null when async*/ ) {
var openedBy = current.opened_by;
var assignmentGroup = current.assignment_group;
if (assignmentGroup == 'e8c3483c1b118510f48c65f7b04bcb0d' || assignmentGroup == 'ed09322b1b0c4d10680a0e9cdc4bcb43' || assignmentGroup == '551536e91b22cd10680a0e9cdc4bcb6a') {
var comment = current.close_notes;
gs.addInfoMessage(comment);
//current.comments = comment;
current.comments = comment;
}
})(current, previous);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 07:57 AM
Here, have a look at my example below,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 03:29 AM
@VIKAS MISHRA You can achieve this using flow designer as below with no code
Please mark it Correct & Hit Like if this works!
Regards,
Eswar Chappa