<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Copy work notes from interaction to associated HR Case in HRSD forum</title>
    <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3430126#M43892</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/472204"&gt;@tworzala&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your code in my PDI for incident and incident task, and added below code, you can change the table name and it will work fine&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarthakKashyap_0-1763486752255.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/483813iEFB1A8C677EF8EF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarthakKashyap_0-1763486752255.png" alt="SarthakKashyap_0-1763486752255.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(function executeRule(current, previous /*null when async*/ ) {
    // Add your code here
    gs.log("BR Called");

    var notes = "";
    var jn = new GlideRecord('sys_journal_field');
    jn.addQuery('name', 'incident');
    jn.addQuery('element', 'work_notes');
    jn.addQuery('element_id', current.sys_id);
    jn.orderBy('sys_created_on');
    jn.query();

    while (jn.next()) {
        notes += jn.value + "\n\n";
    }

    var it = new GlideRecord('incident_task');
    it.addQuery('universal_request', current.sys_id);
    it.query();
    if (it.next()) {
		it.work_notes = notes;
		it.update();
    }
    gs.log(":Notes =  " + notes);
})(current, previous);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please mark my answer correct and helpful if this works for you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sarthak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Nov 2025 17:26:10 GMT</pubDate>
    <dc:creator>Sarthak Kashyap</dc:creator>
    <dc:date>2025-11-18T17:26:10Z</dc:date>
    <item>
      <title>Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3429896#M43885</link>
      <description>&lt;P&gt;When creating a new HR case on an interaction, I'm trying to get the work notes from the interaction to copy over to the new HR Case that's associated. I'm trying to create a business rule but not having luck. Can anyone help?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 15:25:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3429896#M43885</guid>
      <dc:creator>tworzala</dc:creator>
      <dc:date>2025-11-18T15:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3429926#M43888</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/472204"&gt;@tworzala&lt;/a&gt;&amp;nbsp;, hope your doing well!&lt;BR /&gt;&lt;BR /&gt;Found this article that could help you!&lt;BR /&gt;&lt;A href="https://www.servicenow.com/community/servicenow-ai-platform-forum/how-to-copy-worknotes-from-interaction-to-incident-table-on/m-p/1077445" target="_blank"&gt;Solved: How to copy worknotes from interaction to Incident... - ServiceNow Community&lt;/A&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 15:36:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3429926#M43888</guid>
      <dc:creator>JoaoFurtado</dc:creator>
      <dc:date>2025-11-18T15:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3429937#M43889</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/472204"&gt;@tworzala&lt;/a&gt;&amp;nbsp;Can you please share script you have in your BR.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 15:40:52 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3429937#M43889</guid>
      <dc:creator>Gangadhar Ravi</dc:creator>
      <dc:date>2025-11-18T15:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3429992#M43891</link>
      <description>&lt;P&gt;Here's the latest script I was trying. The BR is on the HR case after insert.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(function executeRule(current, previous /*null when async*/) {&lt;/P&gt;&lt;P&gt;// Find any interactions linked to this HR Case via interaction_related&lt;BR /&gt;var irGR = new GlideRecord('interaction_related');&lt;BR /&gt;irGR.addQuery('related_record', current.sys_id); // HR case is the related record&lt;BR /&gt;irGR.addQuery('parent.table', 'interaction'); // Ensure parent is an interaction&lt;BR /&gt;irGR.query();&lt;/P&gt;&lt;P&gt;var notesToAdd = '';&lt;/P&gt;&lt;P&gt;while (irGR.next()) {&lt;BR /&gt;var interaction = new GlideRecord('interaction');&lt;BR /&gt;if (interaction.get(irGR.parent.sys_id)) {&lt;/P&gt;&lt;P&gt;if (interaction.work_notes) {&lt;BR /&gt;// Append each interaction's notes with separator&lt;BR /&gt;notesToAdd += (notesToAdd ? '\n' : '') + interaction.work_notes;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;// Only update the HR case if there are notes to add&lt;BR /&gt;if (notesToAdd) {&lt;BR /&gt;var existing = current.work_notes || '';&lt;BR /&gt;current.work_notes = existing ? existing + '\n' + notesToAdd : notesToAdd;&lt;BR /&gt;current.update(); // safe to update because this is After Insert&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;})(current, previous);&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 16:13:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3429992#M43891</guid>
      <dc:creator>tworzala</dc:creator>
      <dc:date>2025-11-18T16:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3430126#M43892</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/472204"&gt;@tworzala&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your code in my PDI for incident and incident task, and added below code, you can change the table name and it will work fine&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarthakKashyap_0-1763486752255.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/483813iEFB1A8C677EF8EF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarthakKashyap_0-1763486752255.png" alt="SarthakKashyap_0-1763486752255.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(function executeRule(current, previous /*null when async*/ ) {
    // Add your code here
    gs.log("BR Called");

    var notes = "";
    var jn = new GlideRecord('sys_journal_field');
    jn.addQuery('name', 'incident');
    jn.addQuery('element', 'work_notes');
    jn.addQuery('element_id', current.sys_id);
    jn.orderBy('sys_created_on');
    jn.query();

    while (jn.next()) {
        notes += jn.value + "\n\n";
    }

    var it = new GlideRecord('incident_task');
    it.addQuery('universal_request', current.sys_id);
    it.query();
    if (it.next()) {
		it.work_notes = notes;
		it.update();
    }
    gs.log(":Notes =  " + notes);
})(current, previous);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please mark my answer correct and helpful if this works for you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sarthak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 17:26:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3430126#M43892</guid>
      <dc:creator>Sarthak Kashyap</dc:creator>
      <dc:date>2025-11-18T17:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3430133#M43893</link>
      <description>&lt;P&gt;Here's the exact script I used and its still not working:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(function executeRule(current, previous /*null when async*/) {&lt;BR /&gt;// Add your code here&lt;BR /&gt;gs.info("HR Case BR Called");&lt;/P&gt;&lt;P&gt;var notes = "";&lt;/P&gt;&lt;P&gt;// Pull work notes from the HR Case&lt;BR /&gt;var jn = new GlideRecord('sys_journal_field');&lt;BR /&gt;jn.addQuery('name', 'sn_hr_core_case'); // HR Case table name&lt;BR /&gt;jn.addQuery('element', 'work_notes');&lt;BR /&gt;jn.addQuery('element_id', current.sys_id);&lt;BR /&gt;jn.orderBy('sys_created_on');&lt;BR /&gt;jn.query();&lt;/P&gt;&lt;P&gt;while (jn.next()) {&lt;BR /&gt;notes += jn.value + "\n\n";&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;// Update related Interaction record(s)&lt;BR /&gt;var it = new GlideRecord('interaction');&lt;BR /&gt;it.addQuery('hr_case', current.sys_id); // field linking interaction to HR Case&lt;BR /&gt;it.query();&lt;BR /&gt;while (it.next()) {&lt;BR /&gt;it.work_notes = notes;&lt;BR /&gt;it.update();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;gs.info(":Notes = " + notes);&lt;BR /&gt;})(current, previous);&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 17:36:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3430133#M43893</guid>
      <dc:creator>tworzala</dc:creator>
      <dc:date>2025-11-18T17:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3430166#M43894</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/472204"&gt;@tworzala&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check that you are querying to correct record, try to add logs in while of jn glide record,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;gs.info(":Notes = " + notes); are you getting the value in this log or not ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(function executeRule(current, previous /*null when async*/) {
// Add your code here
gs.info("HR Case BR Called");

var notes = "";

// Pull work notes from the HR Case
var jn = new GlideRecord('sys_journal_field');
jn.addQuery('name', 'sn_hr_core_case'); // HR Case table name
jn.addQuery('element', 'work_notes');
jn.addQuery('element_id', current.sys_id);
jn.orderBy('sys_created_on');
jn.query();

while (jn.next()) {
gs.info("Inside While =  " + jn.value);
notes += jn.value + "\n\n";
}

// Update related Interaction record(s)
var it = new GlideRecord('interaction');
it.addQuery('hr_case', current.sys_id); // field linking interaction to HR Case
it.query();
while (it.next()) {
gs.info("Inside Whilw 22 ");
it.work_notes = notes;
it.update();
}

gs.info(":Notes = " + notes);
})(current, previous);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check logs that I added in the script&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please mark my answer correct and helpful if this works for you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sarthak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 18:29:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3430166#M43894</guid>
      <dc:creator>Sarthak Kashyap</dc:creator>
      <dc:date>2025-11-18T18:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3430314#M43896</link>
      <description>&lt;P&gt;I see all the info logs except inside whilw22 and none of the work notes are visible on the HR case.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 21:20:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3430314#M43896</guid>
      <dc:creator>tworzala</dc:creator>
      <dc:date>2025-11-18T21:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3430416#M43897</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/472204"&gt;@tworzala&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On interaction table do you have the field called hr_case? if yes then check current.sys_id contains hr_case's sysId, only in this case it will go inside while.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please mark my answer correct and helpful if this works for you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sarthak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 01:46:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3430416#M43897</guid>
      <dc:creator>Sarthak Kashyap</dc:creator>
      <dc:date>2025-11-19T01:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3431338#M43921</link>
      <description>&lt;P&gt;Ok, no we don't have the hr_case field on the interaction table. Makes sense then.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rule still isn't working to copy though. ANy other ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 15:54:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3431338#M43921</guid>
      <dc:creator>tworzala</dc:creator>
      <dc:date>2025-11-19T15:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3431375#M43924</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/472204"&gt;@tworzala&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to find new script please check below details&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create before BR, table - Interaction, Advance - true, Insert and update - true, add below code&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(function executeRule(current, previous /*null when async*/ ) {

    // Add your code here
    gs.info("BR Called");

    if (!current.opened_for) {
        gs.info("Interaction has no opened_for, skipping HR Case sync.");
        return;
    }

    // Get the newly added journal entry
    var newNote = current.work_notes.getJournalEntry(1);
    if (!newNote) {
        return;
    }

    var hr = new GlideRecord('sn_hr_core_case');
    hr.addQuery('opened_for', current.opened_for);
    hr.orderByDesc('sys_created_on');
    hr.query();

    if (!hr.next()) {
        gs.info("No HR Case found for opened_for: " + current.opened_for);
        return;
    }

    var hrUpdate = new GlideRecord('sn_hr_core_case');
    if (hrUpdate.get(hr.sys_id)) {

        hrUpdate.work_notes = newNote +
            "\n\n-- Copied from Interaction: " + current.number;

        hrUpdate.update();
        gs.info("Copied Interaction work note to HR Case: " + hr.number);
    }


})(current, previous);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;Worknotes on Interaction table&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarthakKashyap_0-1763570295049.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/484304i2444DD8CE21F7C01/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarthakKashyap_0-1763570295049.png" alt="SarthakKashyap_0-1763570295049.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Got copied to HR table&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarthakKashyap_1-1763570329412.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/484305i2D9F5A2A40DDF378/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarthakKashyap_1-1763570329412.png" alt="SarthakKashyap_1-1763570329412.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you need any help!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please mark my answer correct and helpful if this works for you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sarthak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 16:39:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3431375#M43924</guid>
      <dc:creator>Sarthak Kashyap</dc:creator>
      <dc:date>2025-11-19T16:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3431380#M43925</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/472204"&gt;@tworzala&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can create a business rule. Please take a look at the script below, the smartest one, haha&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Table: sn_hr_core_case&lt;BR /&gt;When: after insert&lt;BR /&gt;Condition: current.interaction is not empty&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(function executeRule(current, previous /*null when async*/) {
    if (!current.interaction)
        return;

    var inter = new GlideRecord('interaction');
    if (inter.get(current.interaction)) {
        // Copy the latest work_notes entry to the HR case as a new work note
        if (inter.work_notes) {
            current.work_notes = inter.work_notes;
            current.update(); // one extra update right after insert
        }
    }
})(current, previous);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Hope it helps,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Renat Akhmedov&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 16:45:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3431380#M43925</guid>
      <dc:creator>Renat Akhmedov</dc:creator>
      <dc:date>2025-11-19T16:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3431400#M43926</link>
      <description>&lt;P&gt;How do I add the Condition: current.interaction in the filter condition. I can't find anything related to interaction in the dropdown.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 17:02:58 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3431400#M43926</guid>
      <dc:creator>tworzala</dc:creator>
      <dc:date>2025-11-19T17:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3431406#M43927</link>
      <description>&lt;P&gt;Its copying something now but only the piece where the HRC has been created from xx interaction, which is already there anyways. It didn't bring any of the other notes from the interaction over. See my screenshots.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HR Case SS.png" style="width: 532px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/484313iE99607791CF1D8A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="HR Case SS.png" alt="HR Case SS.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Interaction SS.png" style="width: 445px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/484314i1426124A28129F40/image-size/large?v=v2&amp;amp;px=999" role="button" title="Interaction SS.png" alt="Interaction SS.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 17:04:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3431406#M43927</guid>
      <dc:creator>tworzala</dc:creator>
      <dc:date>2025-11-19T17:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3431445#M43929</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/472204"&gt;@tworzala&lt;/a&gt;,&amp;nbsp;mistypo, try the interaction is not empty.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 17:35:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3431445#M43929</guid>
      <dc:creator>Renat Akhmedov</dc:creator>
      <dc:date>2025-11-19T17:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3431494#M43930</link>
      <description>&lt;P&gt;I can't find interaction because we're using the HR case table.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 18:17:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3431494#M43930</guid>
      <dc:creator>tworzala</dc:creator>
      <dc:date>2025-11-19T18:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3437326#M43956</link>
      <description>&lt;P&gt;I'm still not able to get to the interaction.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 15:50:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3437326#M43956</guid>
      <dc:creator>tworzala</dc:creator>
      <dc:date>2025-11-25T15:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Copy work notes from interaction to associated HR Case</title>
      <link>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3437327#M43957</link>
      <description>&lt;P&gt;See my latest screenshots. Its still not working but seems close.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 15:51:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/copy-work-notes-from-interaction-to-associated-hr-case/m-p/3437327#M43957</guid>
      <dc:creator>tworzala</dc:creator>
      <dc:date>2025-11-25T15:51:44Z</dc:date>
    </item>
  </channel>
</rss>

