<?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: Switch running process instances to newer Process-Model-Version in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182278#M135408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;indeed! after also updating the proc_def_id_ in act_hi_proc_inst table, the activiti-explorer displays the statistics correctly!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jul 2015 06:02:51 GMT</pubDate>
    <dc:creator>stephan_bauer</dc:creator>
    <dc:date>2015-07-28T06:02:51Z</dc:date>
    <item>
      <title>Switch running process instances to newer Process-Model-Version</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182269#M135399</link>
      <description>Hi,I have read http://forums.activiti.org/content/anyone-know-how-fit-such-requestIn our case, we have 3 deployed Versions of the business process.All relevant instances are currently waiting in an Event-Gateway, and the Event-GW still exists in the latest version. The cookbook described at the bott</description>
      <pubDate>Tue, 07 Jul 2015 09:20:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182269#M135399</guid>
      <dc:creator>stephan_bauer</dc:creator>
      <dc:date>2015-07-07T09:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Switch running process instances to newer Process-Model-Version</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182270#M135400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In theory yes, if the process is closely matching. If you changed stuff like parallel paths, subprocesses etc where the execution currently is at, then it won't be as easy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 12:30:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182270#M135400</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-07-07T12:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Switch running process instances to newer Process-Model-Version</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182271#M135401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Stephan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case I would check subscriptions too (there is reference to process definition id too. You will need to upgrade reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 13:30:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182271#M135401</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-07-09T13:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Switch running process instances to newer Process-Model-Version</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182272#M135402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for the hint. I checked the act_ru_event_subscr table with the following select statement, but the proc_def_id_ in act_ru_event_subscr is empty in all records. It seems activiti doesn't use it (yet or anymore?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;select ex.id_, ex.proc_def_id_, ex.is_active_, ex.proc_inst_id_, sub.id_, sub.proc_inst_id_, sub.execution_id_, sub.activity_id_, sub.proc_def_id_&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from act_ru_execution ex &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INNER JOIN act_ru_event_subscr sub on ex.id_ = sub.execution_id_;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 07:48:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182272#M135402</guid>
      <dc:creator>stephan_bauer</dc:creator>
      <dc:date>2015-07-10T07:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Switch running process instances to newer Process-Model-Version</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182273#M135403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt;&amp;nbsp; but the proc_def_id_ in act_ru_event_subscr is empty in all records. It seems activiti doesn't use it (yet or anymore?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is set for a start event (eg timer), but not for runtime event subscriptions. So in your case, no updates required there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 19:19:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182273#M135403</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-07-14T19:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Switch running process instances to newer Process-Model-Version</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182274#M135404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;now we have done the migration and in the database, all proc_def_id_ s of the corresponding Businessprocess are updated to the latest version. But when I go into the activiti-explorer and check the "Process definitions of running instances" under "Administration" then activiti still tells that the number of instances of the old proc_def_id_s is still the same as before the update. Do I have to reset some cache?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I mean, we had shutdown the appserver before doing the sql-update and so i would have expected not to see any deprecated cache-entries anyway… &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephan&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 11:07:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182274#M135404</guid>
      <dc:creator>stephan_bauer</dc:creator>
      <dc:date>2015-07-16T11:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Switch running process instances to newer Process-Model-Version</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182275#M135405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Stephan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you also update the history tables of Activiti, or only the runtime tables?&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, 17 Jul 2015 06:31:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182275#M135405</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-07-17T06:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Switch running process instances to newer Process-Model-Version</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182276#M135406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;first we only updated the runtime tables. We were not sure if it makes sense to update history tables as well…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then we tried with the following update-statement:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;update act_hi_actinst set proc_def_id_='XXXXXXX:4:6740072' where proc_def_id_='XXXXXXX:1:2512' and end_time_ is null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Query returned successfully: 37079 rows affected, 12423 ms execution time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this didn't have any impact on the activiti-explorer screen. I suppose there are some more updates to do? Although I'm still a bit confused that the statistics, that this page displays relies on history-tables…(?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 11:22:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182276#M135406</guid>
      <dc:creator>stephan_bauer</dc:creator>
      <dc:date>2015-07-17T11:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Switch running process instances to newer Process-Model-Version</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182277#M135407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It could very well be those screens use historic tables, the history also reflects the runtime state of a process instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I would update the act_hi_proc_inst table too, now you&amp;amp;#39;ve only changed the ativity instances table, which is most likely not used for that screen.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 09:16:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182277#M135407</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-07-23T09:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Switch running process instances to newer Process-Model-Version</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182278#M135408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;indeed! after also updating the proc_def_id_ in act_hi_proc_inst table, the activiti-explorer displays the statistics correctly!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 06:02:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/switch-running-process-instances-to-newer-process-model-version/m-p/182278#M135408</guid>
      <dc:creator>stephan_bauer</dc:creator>
      <dc:date>2015-07-28T06:02:51Z</dc:date>
    </item>
  </channel>
</rss>

