<?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 Problem with startProcessInstanceByKey(key,version) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-startprocessinstancebykey-key-version/m-p/166794#M120368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just make a small project&amp;nbsp; to test RuntimeService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Firstly, I deploy a work flow model with&amp;nbsp; id = "simpleTest", a simple script task just to say "1". In the database, I have a process definition with version 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then the next model to say "2", also there is a version 2 process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I active Runtime Service by using method startProcessInstanceByKey("simpleTest","1"), why did the process still say "2" ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I know that Activiti use findDeployedLatestProcessDefinitionByKey to find processDefinition, then what is the meaning of "version"? May be I misunderstand something here. Please explain for me?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Oct 2013 10:06:35 GMT</pubDate>
    <dc:creator>holysoul</dc:creator>
    <dc:date>2013-10-17T10:06:35Z</dc:date>
    <item>
      <title>Problem with startProcessInstanceByKey(key,version)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-startprocessinstancebykey-key-version/m-p/166794#M120368</link>
      <description>Dear all.I just make a small project&amp;nbsp; to test RuntimeService.Firstly, I deploy a work flow model with&amp;nbsp; id = "simpleTest", a simple script task just to say "1". In the database, I have a process definition with version 1.Then the next model to say "2", also there is a version 2 process.But when I act</description>
      <pubDate>Thu, 17 Oct 2013 10:06:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-startprocessinstancebykey-key-version/m-p/166794#M120368</guid>
      <dc:creator>holysoul</dc:creator>
      <dc:date>2013-10-17T10:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with startProcessInstanceByKey(key,version)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-startprocessinstancebykey-key-version/m-p/166795#M120369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any suggestion, please?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 04:38:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-startprocessinstancebykey-key-version/m-p/166795#M120369</guid>
      <dc:creator>holysoul</dc:creator>
      <dc:date>2013-10-19T04:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with startProcessInstanceByKey(key,version)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-startprocessinstancebykey-key-version/m-p/166796#M120370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you deploy a process definition with the same id, the startProcessInstanceByKey uses the latest version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to start a version specifically, use the startProcessInstanceById method instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 11:13:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-startprocessinstancebykey-key-version/m-p/166796#M120370</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-10-21T11:13:52Z</dc:date>
    </item>
  </channel>
</rss>

