<?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>topic Workflow - Include comments in email notifications. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/workflow-include-comments-in-email-notifications/m-p/290805#M243935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a comment field in a workflow. I would like to include it in the email notification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Situation : User A make a workflow task and assigned it to user B. User B will get an email notification. User B then completes the task and filled up the comment section. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; User A received a notification that the task is completed. But the comments made by user B is not included in the notification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to include the comments in the email notification code. But I don't know what parameters "comments" uses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advanced!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jul 2015 11:23:46 GMT</pubDate>
    <dc:creator>atique</dc:creator>
    <dc:date>2015-07-13T11:23:46Z</dc:date>
    <item>
      <title>Workflow - Include comments in email notifications.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-include-comments-in-email-notifications/m-p/290805#M243935</link>
      <description>Hi all!There is a comment field in a workflow. I would like to include it in the email notification.Situation : User A make a workflow task and assigned it to user B. User B will get an email notification. User B then completes the task and filled up the comment section. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; User A received</description>
      <pubDate>Mon, 13 Jul 2015 11:23:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-include-comments-in-email-notifications/m-p/290805#M243935</guid>
      <dc:creator>atique</dc:creator>
      <dc:date>2015-07-13T11:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow - Include comments in email notifications.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-include-comments-in-email-notifications/m-p/290806#M243936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can include this piece of code into your taskListener&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;var taskId = "activiti$" + task.getId();&lt;BR /&gt;var taskComment = workflow.getTask(taskId).getProperties()["bpm:comment"];&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use that and it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if you need help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 12:39:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-include-comments-in-email-notifications/m-p/290806#M243936</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2015-07-13T12:39:00Z</dc:date>
    </item>
  </channel>
</rss>

