Copy resolution notes to additional comments

rambo1
Tera Guru

Hi, 

I have resolution notes(closed_notes) and additional comments (comments) which is a journal field on incident form, and both are mandatory during resolving a incident. Now, I want resolution notes to be copied to additional comments, when resolver fills additional comments and resolution notes and resolves incident, additional comments should be appended by resolution notes.

I have tried before update business rule with script:

current.comments = current.closed_notes;

But this did not work, any other way to copy resolution notes to additional comments?

11 REPLIES 11

Dubz
Mega Sage

Check your field name, it should be close_notes

On another note, why do you want to do this? If you just want the close notes to show up in the activity log you can add them in using the filter at the top right of the activity formatter. There should already be a notification set up to send close notes when the incident is resolved.

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

try this business rule:

When: before

Insert: true

Update: true

Advanced: true

Condition: current.close_notes.changes()

Script: current.comments = current.close_notes

If I have answered your question, please mark my response as correct and/or helpful so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

Hi,

This is not working 😕

As David suggested already, please verify the name of the field close_notes in your instance