We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

incident management

bommalarajk
Tera Contributor

Get Latest Work notes or Additional Comments into the custom field automatically on incident table.

1 REPLY 1

Animesh Das2
Mega Sage

Hi @bommalarajk ,

 

If you want to get the latest work notes or comments and put that in a custom field of the same record, then create a 'Before' business rule and fetch the latest work notes to set in that field, shown below.

 

current.u_field_name1 = current.comment.getJournalEntry(1);
current.u_field_name_2 = current.work_notes.getJournalEntry(1);

 

If this address your question, please don't forget to mark this response correct by clicking on Accept as Solution and/or Kudos.

You may mark this helpful as well if it helps you.

Thanks, 

Animesh Das