<?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 No process instance in execution in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128879#M90567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After getting some unexpected NPEs using CDI (e.g. injecting ProcessInstance) I had a look into the activiti tables and noticed some tasks having a process instance id assigned - but their assigned execution do not have a process instance id.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this supposed to be possible/allowed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone shed some light on this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Heiko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Apr 2013 12:04:40 GMT</pubDate>
    <dc:creator>tdtappe</dc:creator>
    <dc:date>2013-04-19T12:04:40Z</dc:date>
    <item>
      <title>No process instance in execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128879#M90567</link>
      <description>After getting some unexpected NPEs using CDI (e.g. injecting ProcessInstance) I had a look into the activiti tables and noticed some tasks having a process instance id assigned - but their assigned execution do not have a process instance id.Is this supposed to be possible/allowed?Can anyone shed so</description>
      <pubDate>Fri, 19 Apr 2013 12:04:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128879#M90567</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-04-19T12:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: No process instance in execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128880#M90568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you confirm if I understand your question correct: You have ACT_RU_EXECUTION entries that don't have a PROC_INST_ID_ set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 06:59:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128880#M90568</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-22T06:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: No process instance in execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128881#M90569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes - a whole bunch of them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 07:53:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128881#M90569</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-04-22T07:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: No process instance in execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128882#M90570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That can only be done by casting and setting the process instance id your self.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure this are "first-class" tasks of a process instance? Ie. they are not standalone tasks or subtasks (parentId != null)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 10:08:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128882#M90570</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-04-22T10:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: No process instance in execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128883#M90571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;AFAICT I don't set any process instance id on my own.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the standalone tasks or subtasks: I think I don't have any of these. At least not on purpose.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I don't miss anything the only thing I do in my app concerning Activiti is starting process instances via RuntimeService and completing tasks via TaskService. And for the time being (I am just exploring Activiti) my process definitions are fairly simple - without any subprocesses or anything.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 14:21:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128883#M90571</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-04-22T14:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: No process instance in execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128884#M90572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What just popped into my mind: Could this problem be related to suspended processes? While exploring Activiti I made some tests with suspending processes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 20:03:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128884#M90572</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-04-22T20:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: No process instance in execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128885#M90573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I haven't got suspended processes any longer in my database.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 12:44:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128885#M90573</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-04-23T12:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: No process instance in execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128886#M90574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post a dump of the related ACT_RU_EXECUTION entries that don't have an execution ID defined? Executions without a process-instance shouldn't exist actually… You're using cdi 'BusinessProcess' I presume?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 08:25:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128886#M90574</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-24T08:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: No process instance in execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128887#M90575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure. Need some time though - I have to restore a backup of the database first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I noticed in the meantime was that obviously only "old" processes were affected. So after removing those "invalid" processes I didn't run into problems (so far). So probably there must have been something strange at that time. But for the time being I have no idea what that could have been. As I mentioned before I did some tests with suspended processes. And I removed pseudo tasks which I used to "pause" the processes right after they were started. Also I switched two service tasks right at the beginning and at the end of the process to "async".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 08:07:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128887#M90575</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-04-25T08:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: No process instance in execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128888#M90576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here you are!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 10:16:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128888#M90576</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-04-25T10:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: No process instance in execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128889#M90577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, I was referring to the ACT_RU_TASK table, that have the missing executtion-ids. I don't see anything in our code that could be causing the absence/disappearing of the ID. So you are saying you cannot reproduce the issue with your process? If you still can, perhaps it's a good idea to extract the process that is showing this behavior, simplify it and create a simple unit-test so we can look closer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 06:43:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128889#M90577</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-30T06:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: No process instance in execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128890#M90578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I don't have act_ru_task records without execution id.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try to restore the state when this problem occured.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just added three more table exports that might be helpful just in case I can't reproduce the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so far!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 07:52:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-process-instance-in-execution/m-p/128890#M90578</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-04-30T07:52:26Z</dc:date>
    </item>
  </channel>
</rss>

