<?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: startProcessInstanceByKey not working anymore in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/startprocessinstancebykey-not-working-anymore/m-p/215347#M168477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created an app (in activiti-app UI) with the processes I need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After that, I published the app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see that my app is deployed (in activiti-admin UI) and my first process starts to run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The second process "TTSProcess" instance that I want to start is deployed (see screenshot)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've uploaded 2 screenshots to show it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://imgur.com/1lvfmv9" rel="nofollow noopener noreferrer"&gt;http://imgur.com/1lvfmv9&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://imgur.com/ZUObLYT" rel="nofollow noopener noreferrer"&gt;http://imgur.com/ZUObLYT&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The activiti engine still doesn't want to start up my TTSProcess by key… What is the reason he cannot find it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;org.activiti.engine.ActivitiObjectNotFoundException: no processes deployed with key 'TTSProcess'&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: I'm using an H2 database&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also important: startProcessInstanceByID works&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2016 11:39:48 GMT</pubDate>
    <dc:creator>robinho</dc:creator>
    <dc:date>2016-02-24T11:39:48Z</dc:date>
    <item>
      <title>startProcessInstanceByKey not working anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/startprocessinstancebykey-not-working-anymore/m-p/215345#M168475</link>
      <description>Hi I migrated from activiti explorer (community version) to alfresco activiti enterprise.Everything went ok, but now when a process starts a new TTSProcess with the following code:runtimeService.startProcessInstanceByKey("TTSProcess", variables); ‍I get the following error&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.activiti.engine.Activi</description>
      <pubDate>Thu, 18 Feb 2016 16:21:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/startprocessinstancebykey-not-working-anymore/m-p/215345#M168475</guid>
      <dc:creator>robinho</dc:creator>
      <dc:date>2016-02-18T16:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: startProcessInstanceByKey not working anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/startprocessinstancebykey-not-working-anymore/m-p/215346#M168476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;(Moved to enterprise forum)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Renaming processes doesn't change the way its deployed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To start a process instance by key, the process definition needs to be deployed (ie in the database). How did you do that with Alfresco Activiti?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 09:20:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/startprocessinstancebykey-not-working-anymore/m-p/215346#M168476</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-02-24T09:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: startProcessInstanceByKey not working anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/startprocessinstancebykey-not-working-anymore/m-p/215347#M168477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created an app (in activiti-app UI) with the processes I need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After that, I published the app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see that my app is deployed (in activiti-admin UI) and my first process starts to run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The second process "TTSProcess" instance that I want to start is deployed (see screenshot)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've uploaded 2 screenshots to show it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://imgur.com/1lvfmv9" rel="nofollow noopener noreferrer"&gt;http://imgur.com/1lvfmv9&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://imgur.com/ZUObLYT" rel="nofollow noopener noreferrer"&gt;http://imgur.com/ZUObLYT&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The activiti engine still doesn't want to start up my TTSProcess by key… What is the reason he cannot find it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;org.activiti.engine.ActivitiObjectNotFoundException: no processes deployed with key 'TTSProcess'&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: I'm using an H2 database&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also important: startProcessInstanceByID works&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 11:39:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/startprocessinstancebykey-not-working-anymore/m-p/215347#M168477</guid>
      <dc:creator>robinho</dc:creator>
      <dc:date>2016-02-24T11:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: startProcessInstanceByKey not working anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/startprocessinstancebykey-not-working-anymore/m-p/215348#M168478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm; I see tenant_1 in that screenshot. Are you running multi tenant setup?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyhow, I believe it will work once you pass in the 'tenant_1' tenant id in the startProcessInstanceByKey&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 20:18:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/startprocessinstancebykey-not-working-anymore/m-p/215348#M168478</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-03-01T20:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: startProcessInstanceByKey not working anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/startprocessinstancebykey-not-working-anymore/m-p/215349#M168479</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;SPAN&gt;I'm not running a multi tenant setup&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Good After date:20150228&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Before date:20180630&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Multi tenant?:false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Default tenant name:mycompany.com&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried with the following method and it worked! (thanks for the tip)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;runtimeService.startProcessInstanceByKeyAndTenantId("TTSProcess", myvariables, "tenant_1"); &amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 12:19:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/startprocessinstancebykey-not-working-anymore/m-p/215349#M168479</guid>
      <dc:creator>robinho</dc:creator>
      <dc:date>2016-03-02T12:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: startProcessInstanceByKey not working anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/startprocessinstancebykey-not-working-anymore/m-p/215350#M168480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great to hear! The reason is that in the BPM Suite everything is multi tenant (even if it's not according to the license), so it's possible (theoretically, haven't tried it yet) to migrate to MT later on.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 08:57:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/startprocessinstancebykey-not-working-anymore/m-p/215350#M168480</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-03-07T08:57:50Z</dc:date>
    </item>
  </channel>
</rss>

