<?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: AbstractBpmnParseHandler in version 6 Beta in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178050#M131180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ActivitListener is an abstract Object to represent the model for an execution and task listener in Activiti. So, on an Activiti listener you can define the class, expression and delegate expression text value in the implementation attribute. So in case you are using a Java class task listener you just set the implementation value to fully qualified class name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Sep 2015 18:58:08 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2015-09-20T18:58:08Z</dc:date>
    <item>
      <title>AbstractBpmnParseHandler in version 6 Beta</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178044#M131174</link>
      <description>New to Activiti and was tasked with upgrading from 5.18 to 6.0.&amp;nbsp; After pulling in the new jars, I noticed that AbstractBpmnParseHandler.findActivity(BpmnParse, UserTask) method no longer exists in the Abstract class.&amp;nbsp; Without really understanding the codebase, I've been trying to find a way to reimp</description>
      <pubDate>Wed, 16 Sep 2015 18:32:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178044#M131174</guid>
      <dc:creator>schommerc</dc:creator>
      <dc:date>2015-09-16T18:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: AbstractBpmnParseHandler in version 6 Beta</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178045#M131175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The signature is wrong in the example above, I have findActivity(bpmnParse, element.getId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this is still a problem.&amp;nbsp; I tried looking at method calls for the BpmnParse to get an ActivityImpl, and I saw an ActivityBehaviorFactory method, thinking I could get the ActivityBehavior directly from the BpmnParse, but was unsuccessful.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The body of the findActivity method is just &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;return bpmnParse.getCurrentScope().findActivity(id);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;however, those methods do not seem to do exist for the bpmnParse object anymore either.&amp;nbsp; I see getCurrentProcess() but that doesn't seem like the same thing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 20:57:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178045#M131175</guid>
      <dc:creator>schommerc</dc:creator>
      <dc:date>2015-09-16T20:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: AbstractBpmnParseHandler in version 6 Beta</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178046#M131176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be able to listeners directly on the UserTask element instead of the old ActivityImpl object. We removed the whole ActivityImpl structure and are now using the BpmnModel objects like UserTask directly for execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 08:39:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178046#M131176</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-09-17T08:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: AbstractBpmnParseHandler in version 6 Beta</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178047#M131177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not see any related to adding a listener as a method of the UserTask.&amp;nbsp; Can you tell me if I'm missing a step? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my code, I would get the ActivityImpl, then the ActivityBehavior, then the TaskDefinition.&amp;nbsp; I would then loop through each listener and add it to the TaskDefinition.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you saying I can skip all of that and add the listeners directly to the Usertask?&amp;nbsp; Can you provide an example or explain to me how I can add those directly (Since I do not see it as a method)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 13:51:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178047#M131177</guid>
      <dc:creator>schommerc</dc:creator>
      <dc:date>2015-09-17T13:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: AbstractBpmnParseHandler in version 6 Beta</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178048#M131178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a setTaskListeners method in the UserTask class. You can create instances of ActivitiListener to define the listener.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 19:06:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178048#M131178</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-09-17T19:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: AbstractBpmnParseHandler in version 6 Beta</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178049#M131179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks again Tijs - you've been a huge help so far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One last obstacle… It seems that the setTaskListeners only takes an ActivitiListener, and I have an existing collection of TaskListeners.&amp;nbsp; Without seeing the javadoc, I'm not sure what the differences are, only that they are not cross compatible.&amp;nbsp; Is there an easy way to convert these objects, or will I need to figure out where the TaskListeners collection is created and switch it to ActivitiListener?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Snippet:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private List&amp;lt;TaskListener&amp;gt; taskListeners;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void executeParse(BpmnParse bpmnParse, UserTask userTask)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; userTask.setTaskListeners(taskListeners);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 19:49:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178049#M131179</guid>
      <dc:creator>schommerc</dc:creator>
      <dc:date>2015-09-17T19:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: AbstractBpmnParseHandler in version 6 Beta</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178050#M131180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ActivitListener is an abstract Object to represent the model for an execution and task listener in Activiti. So, on an Activiti listener you can define the class, expression and delegate expression text value in the implementation attribute. So in case you are using a Java class task listener you just set the implementation value to fully qualified class name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Sep 2015 18:58:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178050#M131180</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-09-20T18:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: AbstractBpmnParseHandler in version 6 Beta</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178051#M131181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Or, there is another way which is probably easier: the ActivitiListener has an 'instance' you can set. Put your TaskListener instance on it and it should work as before.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 07:44:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178051#M131181</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-09-21T07:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: AbstractBpmnParseHandler in version 6 Beta</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178052#M131182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perfect, thank you both.&amp;nbsp; This seems to have solved the issue. Cheers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 14:19:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/abstractbpmnparsehandler-in-version-6-beta/m-p/178052#M131182</guid>
      <dc:creator>schommerc</dc:creator>
      <dc:date>2015-09-21T14:19:29Z</dc:date>
    </item>
  </channel>
</rss>

