<?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 BPMN Activity 'documentation' element in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-activity-documentation-element/m-p/33553#M17507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I have a &amp;lt;userTask&amp;gt; element in my BPMN20.xml process definition, I can add a &amp;lt;documentation&amp;gt; element inside it. Great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I cant see how I can do that with other elements such as manualTask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why cant a manualTask have some documentation? My app's usage of Activiti would like it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like the documentation element is parsed into the UserTaskActivity's TaskDefinition object rather than in the ActivityImpl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ManualTaskActivity behaviour does not have a TaskDefinition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any reason for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I supply a patch to provide documentation for manualTasks? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What would be the preferred design? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(a) Add a documentation element directly to the ManualTaskActivity and parse it via parseDocumentation() from BpmnParse.parseManualTask() &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(b) Add a TaskDefinition to ManualTaskActivity (this smells like a conceptual clash because a ManualTaskActivity is not assignable etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;© Perhaps the documentation element should be refactored out of TaskDefinition to a more common position so that different Activity types can all leverage it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Oct 2010 02:13:49 GMT</pubDate>
    <dc:creator>mlawler</dc:creator>
    <dc:date>2010-10-06T02:13:49Z</dc:date>
    <item>
      <title>BPMN Activity 'documentation' element</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-activity-documentation-element/m-p/33553#M17507</link>
      <description>If I have a &amp;lt;userTask&amp;gt; element in my BPMN20.xml process definition, I can add a &amp;lt;documentation&amp;gt; element inside it. Great.But I cant see how I can do that with other elements such as manualTask.Why cant a manualTask have some documentation? My app's usage of Activiti would like it :-)It l</description>
      <pubDate>Wed, 06 Oct 2010 02:13:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-activity-documentation-element/m-p/33553#M17507</guid>
      <dc:creator>mlawler</dc:creator>
      <dc:date>2010-10-06T02:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN Activity 'documentation' element</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-activity-documentation-element/m-p/33554#M17508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are correct, only for user tasks the documentation is parsed. But it should however be parsed for every supported BPMN construct that allows it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So option C is the best way to go here. I added &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-224" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-224&lt;/A&gt;&lt;SPAN&gt; to implement it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 08:46:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-activity-documentation-element/m-p/33554#M17508</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-10-06T08:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN Activity 'documentation' element</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-activity-documentation-element/m-p/33555#M17509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is this something you'd accept a patch for, or is it something that a Core developer would implement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Happy to have a crack at it and submit for review.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 08:54:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-activity-documentation-element/m-p/33555#M17509</guid>
      <dc:creator>mlawler</dc:creator>
      <dc:date>2010-10-06T08:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN Activity 'documentation' element</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-activity-documentation-element/m-p/33556#M17510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is certainly something I'd welcome a patch for &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The easiest path forward is to create a Jira, assign it to me and attach the patch to it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 12:16:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-activity-documentation-element/m-p/33556#M17510</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-10-06T12:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN Activity 'documentation' element</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-activity-documentation-element/m-p/33557#M17511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've changed the whole parser design in my own code, see here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=4&amp;amp;t=305" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=4&amp;amp;t=305&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I'm waiting for Tom to permit me to contribute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I should make the patch in my new parser too, so either let me know (through this topic) the JIRA issue that has the patch, or wait to patch the new code. Joram's help on what we should do is welcome!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And, out of curiosity, what is your unit test policy in the project? Are you doing TDD?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I mean, should we write unit tests for such changes?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 08:06:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-activity-documentation-element/m-p/33557#M17511</guid>
      <dc:creator>iravanchi</dc:creator>
      <dc:date>2010-10-07T08:06:42Z</dc:date>
    </item>
  </channel>
</rss>

