<?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: Replace activiti:class throughout all deployments? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/replace-activiti-class-throughout-all-deployments/m-p/180140#M133270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;" if activit would address this problem in some way"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This problem is addressed in environments where you have dependency injection, like Spring. There, you delegate to bean names rather than using classnames directly. Not sure if we need to do something similar for Activiti out of the box, but it is an interesting idea.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Oct 2015 09:33:53 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2015-10-05T09:33:53Z</dc:date>
    <item>
      <title>Replace activiti:class throughout all deployments?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/replace-activiti-class-throughout-all-deployments/m-p/180137#M133267</link>
      <description>Hello,we have multiple processes deployed where have a lot of different TaskDelegations in use. Due to recent cleanup in our own source-code some of the package names have changed. However Activiti seems to also store the full package name inside the BPMN-Diagramm.There are now processes deployed ha</description>
      <pubDate>Fri, 25 Sep 2015 10:08:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/replace-activiti-class-throughout-all-deployments/m-p/180137#M133267</guid>
      <dc:creator>dognose</dc:creator>
      <dc:date>2015-09-25T10:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Replace activiti:class throughout all deployments?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/replace-activiti-class-throughout-all-deployments/m-p/180138#M133268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Implementing new versions of delegate classes always involves backwards compatibility. So there's no out of the box solution for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You could look into using the SetProcessDefinitionVersionCmd to move an existing process instance to a new process definition.&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>Fri, 25 Sep 2015 14:43:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/replace-activiti-class-throughout-all-deployments/m-p/180138#M133268</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-09-25T14:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Replace activiti:class throughout all deployments?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/replace-activiti-class-throughout-all-deployments/m-p/180139#M133269</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;unfortunately moving the old processes to the new version is no option. We ofc. use the Versioning to introduce Business-Changes. However, we can not introduce a "Business Change" to older Versions of the process still running, just because of a "technical" Need&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to move them to newer definition versions. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the only Options that are available are: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Keeping a depcrecated Version of the Classes until all running processes are done. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Manually altering the serialized BPMN-Diagrams to replace references to the "old" class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Both are not really satisfying. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would suggest, that - if activit would address this problem in some way - you extend Activitis way of storing those Information. Rather than storing "com.my.namespace.something.class" in the diagram, just use the simplified class Name, and add a possibility (In the processengine-configuration) to define packages that should be scanned for the respective classes used. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something like the "PHP-Include-DIR" so to say. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This would also allow to define different "packages" with different implementations for certain delegates, and just replace them by changing the package path to scan for those classes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even if not required on a daily basis, this would decouple activiti from the namespace-layout of the containing project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Still seeing Forward to more answers, maybe there is another Option than the two mentioned above?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dognose&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 07:16:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/replace-activiti-class-throughout-all-deployments/m-p/180139#M133269</guid>
      <dc:creator>dognose</dc:creator>
      <dc:date>2015-09-28T07:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Replace activiti:class throughout all deployments?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/replace-activiti-class-throughout-all-deployments/m-p/180140#M133270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;" if activit would address this problem in some way"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This problem is addressed in environments where you have dependency injection, like Spring. There, you delegate to bean names rather than using classnames directly. Not sure if we need to do something similar for Activiti out of the box, but it is an interesting idea.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 09:33:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/replace-activiti-class-throughout-all-deployments/m-p/180140#M133270</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-10-05T09:33:53Z</dc:date>
    </item>
  </channel>
</rss>

