<?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: Processes are not getting deployed in 5.17.0 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198429#M151559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I misquoted as revision, actually I am talking about VERSION_ column. I am compelled to change the VERSION ID for every deployment as the VERSION id is not changing per deployment though process definition changed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2015 13:10:43 GMT</pubDate>
    <dc:creator>penusila611621</dc:creator>
    <dc:date>2015-04-08T13:10:43Z</dc:date>
    <item>
      <title>Processes are not getting deployed in 5.17.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198425#M151555</link>
      <description>Hi All,I am started using 5.17.o version of Activiti. I had created some process definitions as tenant based and updating the tenant id manually in the database since explorer does't support tenant based deployment.I have notices that most of the times revision id column is not getting updated along</description>
      <pubDate>Mon, 06 Apr 2015 13:57:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198425#M151555</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2015-04-06T13:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Processes are not getting deployed in 5.17.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198426#M151556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The revision is only updated when you update the process definition. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you deploy a new process definition version, this won't affect the revision.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you start a process definition, you will always start using the latest (highest version) process definition. So either your data is wrong, or you haven't deployed a new process definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We would need some more code and table content to know what is happening exactly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:20:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198426#M151556</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-04-07T13:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Processes are not getting deployed in 5.17.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198427#M151557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am updating the process definition by adding new some user activities. Revision id is not changing When I deploy the updated process definition. I need to manually update the revision id to make the updated process definition active.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try to post the process definition xml.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 14:31:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198427#M151557</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2015-04-07T14:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Processes are not getting deployed in 5.17.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198428#M151558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should look at the VERSION_ column instead. That's the one that will get a new number when deploying a new version.&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>Wed, 08 Apr 2015 11:02:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198428#M151558</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-04-08T11:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Processes are not getting deployed in 5.17.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198429#M151559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I misquoted as revision, actually I am talking about VERSION_ column. I am compelled to change the VERSION ID for every deployment as the VERSION id is not changing per deployment though process definition changed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 13:10:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198429#M151559</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2015-04-08T13:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Processes are not getting deployed in 5.17.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198430#M151560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; I am updating the process definition by adding new some user activities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, and what are you doing then? Creating a new deployment with the new xml and deploying it? if so, a new version of the process definition should be deployed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you demonstrate the problem in a unit test, cause I'm not exactly following the use case here&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 11:52:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198430#M151560</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-04-14T11:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Processes are not getting deployed in 5.17.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198431#M151561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am doing the following to make my deployed process tenant aware.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Creating a process definition and deploying using explorer. Then manually populating tenant id in TENANT_ID_ in ACT_RE_PROCDEF table since the deployment is done through explorer. Assume the VERSION_ is 1 with the first deployment in the table act_re_procdef&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&amp;nbsp; Making changes to the process again and deploying the updated process using explorer. This time latestProcessDefinition = processDefinitionManager.findLatestProcessDefinitionByKey(processDefinition.getKey()); line in BpmnDeployer class returning null. Then because of this check&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (latestProcessDefinition != null) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processDefinitionVersion = latestProcessDefinition.getVersion() + 1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processDefinitionVersion = 1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the same class setting the VERSION_ to 1 instead of 2 as per the code. I think .findLatestProcessDefinitionByKey(processDefinition.getKey()); line is returning null because of tenant_Id_ is populated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VERSION_ column is incrementing per deployment if the TENANT_ID_ column is null. If the TENANT_ID_ is populated with any text then VERSION_ is not getting incremented per deployment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope my explanation makes some sense and abstractable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 10:37:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198431#M151561</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2015-04-15T10:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Processes are not getting deployed in 5.17.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198432#M151562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/deployer/BpmnDeployer.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/deployer/BpmnDeployer.java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Line 166 should work for tenant ids as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It would make it a lot easier if you can create a unit test showing your issue.&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, 16 Apr 2015 13:22:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/processes-are-not-getting-deployed-in-5-17-0/m-p/198432#M151562</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-04-16T13:22:26Z</dc:date>
    </item>
  </channel>
</rss>

