<?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 Question About field Additional Comments in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3307940#M1212654</link>
    <description>&lt;P&gt;Hello Guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my mission:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;"When the customer (requested for) - writes a comment (Additional comment) on the request: the comment will be copied to all open tasks."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I tried to use Business Rule but there is what happened:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;* The Comment will not seen in the tasks of the RITM.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;* The Comment write twice in the SOW view and in the RITM View.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ItayB_0-1751466544307.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/452779i0F4747F5F00CE67B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ItayB_0-1751466544307.png" alt="ItayB_0-1751466544307.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ItayB_1-1751466577648.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/452780iCBBC1AF2A77A0C6A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ItayB_1-1751466577648.png" alt="ItayB_1-1751466577648.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jul 2025 14:30:42 GMT</pubDate>
    <dc:creator>ItayB</dc:creator>
    <dc:date>2025-07-02T14:30:42Z</dc:date>
    <item>
      <title>Question About field Additional Comments</title>
      <link>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3307940#M1212654</link>
      <description>&lt;P&gt;Hello Guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my mission:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;"When the customer (requested for) - writes a comment (Additional comment) on the request: the comment will be copied to all open tasks."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I tried to use Business Rule but there is what happened:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;* The Comment will not seen in the tasks of the RITM.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;* The Comment write twice in the SOW view and in the RITM View.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ItayB_0-1751466544307.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/452779i0F4747F5F00CE67B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ItayB_0-1751466544307.png" alt="ItayB_0-1751466544307.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ItayB_1-1751466577648.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/452780iCBBC1AF2A77A0C6A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ItayB_1-1751466577648.png" alt="ItayB_1-1751466577648.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 14:30:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3307940#M1212654</guid>
      <dc:creator>ItayB</dc:creator>
      <dc:date>2025-07-02T14:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Question About field Additional Comments</title>
      <link>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3307947#M1212657</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/922734"&gt;@ItayB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What’s the business case for showing comments on all item tasks? The comment might not be relevant to every task. Also, when the end user adds a comment, it goes to the RITM—not the tasks—since users only have the option to comment on the RITM from the portal, not individual tasks."&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 14:37:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3307947#M1212657</guid>
      <dc:creator>Dr Atul G- LNG</dc:creator>
      <dc:date>2025-07-02T14:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Question About field Additional Comments</title>
      <link>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3307959#M1212659</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/922734"&gt;@ItayB&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Hope you're doing well!&lt;BR /&gt;Can you try using the below line at line 13 in your script?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  taskGr.comments.setJournalEntry(comment); &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sharif&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 14:45:55 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3307959#M1212659</guid>
      <dc:creator>Masthan Sharif</dc:creator>
      <dc:date>2025-07-02T14:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Question About field Additional Comments</title>
      <link>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3307962#M1212661</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/922734"&gt;@ItayB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;update your script as&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(function executeRule(current, previous /*null when async*/ ) {

    var taskGr = new GlideRecord('sc_task');
    taskGr.addEncodedQuery('request_item=' + current.getValue('sys_id') + '^stateIN1,2');
    taskGr.query();

    while (taskGr.next()) {
        taskGr.comments = current.comments;
        taskGr.update();
    }

})(current, previous);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please mark my answer as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;helpful/correct&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/STRONG&gt;if it resolves your query.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Regards,&lt;BR /&gt;Chaitanya&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 14:47:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3307962#M1212661</guid>
      <dc:creator>Chaitanya ILCR</dc:creator>
      <dc:date>2025-07-02T14:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Question About field Additional Comments</title>
      <link>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3309235#M1212962</link>
      <description>&lt;P&gt;Thanks everyone for the comments!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This script fixed this problem:&lt;BR /&gt;&lt;SPAN&gt;* The Comment will not seen in the tasks of the RITM.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;but this problem still happening:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* The Comment write twice in the SOW view and in the RITM View.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 11:16:25 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3309235#M1212962</guid>
      <dc:creator>ItayB</dc:creator>
      <dc:date>2025-07-03T11:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Question About field Additional Comments</title>
      <link>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3309303#M1212987</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/922734"&gt;@ItayB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;1. Either you can add setWorkflow(false) on the BR script as below&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(function executeRule(current, previous /*null when async*/ ) {

    var taskGr = new GlideRecord('sc_task');
    taskGr.addEncodedQuery('request_item=' + current.getValue('sys_id') + '^stateIN1,2');
    taskGr.query();

    while (taskGr.next()) {
        taskGr.comments = current.comments;
		taskGr.setWorkflow(false);
        taskGr.update();
    }

})(current, previous);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. check if there is any BR on sc_task table which contains current.update() statement in script&lt;/P&gt;&lt;P&gt;use script tracer to find out which script is responsible for duplicate comments&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or a flow which is duplicating the comments check if there any flows triggered and duplicating the comments&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please mark my answer as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;helpful/correct&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/STRONG&gt;if it resolves your query.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Regards,&lt;BR /&gt;Chaitanya&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 11:40:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3309303#M1212987</guid>
      <dc:creator>Chaitanya ILCR</dc:creator>
      <dc:date>2025-07-03T11:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Question About field Additional Comments</title>
      <link>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3309356#M1212993</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/922734"&gt;@ItayB&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Please use setWorkflowFalse() function.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(function executeRule(current, previous /*null when async*/ ) {

    var taskGr = new GlideRecord('sc_task');
    taskGr.addEncodedQuery('request_item=' + current.getValue('sys_id') + '^stateIN1,2');
    taskGr.query();

    while (taskGr.next()) {
        taskGr.comments = current.comments;
		taskGr.setWorkflow(false);
        taskGr.update();
    }

})(current, previous);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Regards,&lt;BR /&gt;Mohammad Danish&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 12:10:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/question-about-field-additional-comments/m-p/3309356#M1212993</guid>
      <dc:creator>Mohammad Danis3</dc:creator>
      <dc:date>2025-07-03T12:10:50Z</dc:date>
    </item>
  </channel>
</rss>

