<?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: Workflow Task get Documentation  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/workflow-task-get-documentation/m-p/291587#M244717</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;using the Alfresco API you cannot get to that field. There simply is no mapping for it. Only via low-level Activiti API can you get to it, i.e. by developing a task listener that copies the "documentation" value to an Alfresco task model property when the task is created.&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>Thu, 24 Mar 2016 10:26:51 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2016-03-24T10:26:51Z</dc:date>
    <item>
      <title>Workflow Task get Documentation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-task-get-documentation/m-p/291586#M244716</link>
      <description>Hello!I have a custom task like:&amp;lt;userTask id="usertask1" name="User Task 1" activiti:assignee="${initiator.properties.userName}"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is the documentation and I want it&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/documentation&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&amp;lt;/userTask&amp;gt;‍‍‍‍‍‍‍‍Now I want to get this document</description>
      <pubDate>Thu, 24 Mar 2016 08:19:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-task-get-documentation/m-p/291586#M244716</guid>
      <dc:creator>alfrescot3ster</dc:creator>
      <dc:date>2016-03-24T08:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow Task get Documentation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-task-get-documentation/m-p/291587#M244717</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;using the Alfresco API you cannot get to that field. There simply is no mapping for it. Only via low-level Activiti API can you get to it, i.e. by developing a task listener that copies the "documentation" value to an Alfresco task model property when the task is created.&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>Thu, 24 Mar 2016 10:26:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-task-get-documentation/m-p/291587#M244717</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-03-24T10:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow Task get Documentation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-task-get-documentation/m-p/291588#M244718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh, thanks that helped me a lot. Searched everywhere for hours &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 11:28:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-task-get-documentation/m-p/291588#M244718</guid>
      <dc:creator>alfrescot3ster</dc:creator>
      <dc:date>2016-03-24T11:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow Task get Documentation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-task-get-documentation/m-p/291589#M244719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;workflowTask.getDefinition().getNode().getDescription() should be the documentation if it is set in the bpmn definition. The ActivitiTypeConverter maps it within the getNode method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 08:56:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-task-get-documentation/m-p/291589#M244719</guid>
      <dc:creator>christianjanker</dc:creator>
      <dc:date>2016-03-25T08:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow Task get Documentation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-task-get-documentation/m-p/291590#M244720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are right - the workflowTask.getDefinition().getNode().getDescription() actually maps to the documentation, but this appears to be sheer luck / accident. Along the execution path, every variable referring to the value is called "description" and only the ActivitiConstants.NODE_DESCRIPTION constant contains the non-sensical value "documentation", so it ends up mapping that as a "pseudo-description". This is kind of dirty and I would not rely on it always staying this way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 07:56:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-task-get-documentation/m-p/291590#M244720</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-03-29T07:56:01Z</dc:date>
    </item>
  </channel>
</rss>

