<?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 Get parent process id returns null in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/get-parent-process-id-returns-null/m-p/39475#M16571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a tasklistener that executes within two tasks of a called sub-process. This tasklistener retrieves the parent process id. In the first task, which happens to be the first task of the process, the returned parent process id is null. However, the returned parent process id from the second task with the tasklistener is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the null return from the first task something to do with the first task of the called sub-process being in the same transaction as the parent process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2018 13:49:38 GMT</pubDate>
    <dc:creator>navitect</dc:creator>
    <dc:date>2018-08-23T13:49:38Z</dc:date>
    <item>
      <title>Get parent process id returns null</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-parent-process-id-returns-null/m-p/39475#M16571</link>
      <description>Hi,I have a tasklistener that executes within two tasks of a called sub-process. This tasklistener retrieves the parent process id. In the first task, which happens to be the first task of the process, the returned parent process id is null. However, the returned parent process id from the second ta</description>
      <pubDate>Thu, 23 Aug 2018 13:49:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-parent-process-id-returns-null/m-p/39475#M16571</guid>
      <dc:creator>navitect</dc:creator>
      <dc:date>2018-08-23T13:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get parent process id returns null</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-parent-process-id-returns-null/m-p/39476#M16572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share you process definition(s) showing the tasks?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 11:19:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-parent-process-id-returns-null/m-p/39476#M16572</guid>
      <dc:creator>bassam_al-saror</dc:creator>
      <dc:date>2018-09-06T11:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get parent process id returns null</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-parent-process-id-returns-null/m-p/39477#M16573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I've created a couple of simple process definitions plus listener to test this. See attached.&lt;/P&gt;&lt;P&gt;The behaviour I'm now seeing with a JUnit test is that in both cases (Task 1 and 2) the task listener returns null for the parent process id.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Sep 2018 04:49:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-parent-process-id-returns-null/m-p/39477#M16573</guid>
      <dc:creator>navitect</dc:creator>
      <dc:date>2018-09-16T04:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get parent process id returns null</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-parent-process-id-returns-null/m-p/39478#M16574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you structure the files in a maven project that I can test?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 12:35:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-parent-process-id-returns-null/m-p/39478#M16574</guid>
      <dc:creator>bassam_al-saror</dc:creator>
      <dc:date>2018-09-17T12:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get parent process id returns null</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-parent-process-id-returns-null/m-p/39479#M16575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bassam, Thanks for looking into this. See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 14:18:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-parent-process-id-returns-null/m-p/39479#M16575</guid>
      <dc:creator>navitect</dc:creator>
      <dc:date>2018-09-18T14:18:49Z</dc:date>
    </item>
  </channel>
</rss>

