<?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 Re: how can i get the value of the bpm-comment of each task. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-value-of-the-bpm-comment-of-each-task/m-p/288629#M241759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the script you are using is unnecessary and actively messes up the data structure in your workflow. The bpm_comment should typically only be maintained on the task and not moved to the execution. When you access the task properties via the WorkflowService using the task ID, you should always get the bpm:comment for the task you requested - perhaps you are accessing the properties of the workflow path, which is always the set of variables set on the execution and thus always contains the most recent value of bpm_comment set by your script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2015 16:50:17 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2015-01-26T16:50:17Z</dc:date>
    <item>
      <title>how can i get the value of the bpm-comment of each task.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-value-of-the-bpm-comment-of-each-task/m-p/288628#M241758</link>
      <description>Hi, I used this instructions to store bpm_bomment in the complete script of a three tasks properties:execution.setVariable('bpm_comment', task.getVariable('bpm_comment'));";task.setVariable('bpm_comment', execution.getVariable('bpm_comment'));";…..‍‍‍‍‍but when i try to get the value of the bpm_comm</description>
      <pubDate>Mon, 26 Jan 2015 13:19:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-value-of-the-bpm-comment-of-each-task/m-p/288628#M241758</guid>
      <dc:creator>wajdi_ghribi</dc:creator>
      <dc:date>2015-01-26T13:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: how can i get the value of the bpm-comment of each task.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-value-of-the-bpm-comment-of-each-task/m-p/288629#M241759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the script you are using is unnecessary and actively messes up the data structure in your workflow. The bpm_comment should typically only be maintained on the task and not moved to the execution. When you access the task properties via the WorkflowService using the task ID, you should always get the bpm:comment for the task you requested - perhaps you are accessing the properties of the workflow path, which is always the set of variables set on the execution and thus always contains the most recent value of bpm_comment set by your script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 16:50:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-value-of-the-bpm-comment-of-each-task/m-p/288629#M241759</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2015-01-26T16:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: how can i get the value of the bpm-comment of each task.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-value-of-the-bpm-comment-of-each-task/m-p/288630#M241760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have two different type of variables in workflow i.e. Task variables and Workflow properties.Then one which you are trying to access is task variable and it's scope is limited to particular task only.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 16:51:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-value-of-the-bpm-comment-of-each-task/m-p/288630#M241760</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2015-01-26T16:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: how can i get the value of the bpm-comment of each task.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-value-of-the-bpm-comment-of-each-task/m-p/288631#M241761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for response,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i get the bpm_comment of each task in client-side javascript if i have the id of the task ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have found this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;workflow.getTask(taskId).getProperties()["bpm:comment"];&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;but object workflow is unknown in client-side javascript.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 17:00:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-value-of-the-bpm-comment-of-each-task/m-p/288631#M241761</guid>
      <dc:creator>wajdi_ghribi</dc:creator>
      <dc:date>2015-01-26T17:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: how can i get the value of the bpm-comment of each task.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-value-of-the-bpm-comment-of-each-task/m-p/288632#M241762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In fact i used only &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;BR /&gt;task.setVariable('bpm_comment', execution.getVariable('bpm_comment'));";&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;SPAN&gt;and when i used:&lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;workflow.getTask(taskId).getProperties()["bpm:comment"];&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;to get the bpm_comment , i always get the most recent value of it ? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 08:54:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-value-of-the-bpm-comment-of-each-task/m-p/288632#M241762</guid>
      <dc:creator>wajdi_ghribi</dc:creator>
      <dc:date>2015-01-27T08:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: how can i get the value of the bpm-comment of each task.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-value-of-the-bpm-comment-of-each-task/m-p/288633#M241763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi wajdi.ghribi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying workflow.getTask(taskId).getProperties()["bpm:comment"];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but javascript error with variable taskId. How i can declare the taskId?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 09:19:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-value-of-the-bpm-comment-of-each-task/m-p/288633#M241763</guid>
      <dc:creator>khoer52</dc:creator>
      <dc:date>2016-03-16T09:19:28Z</dc:date>
    </item>
  </channel>
</rss>

