<?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: Getting the process ID of a called subprocess in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121506#M85601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmmm , seems to me the process instance details request should be enhanced to include that data … could you create a JIRA request for this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2012 10:30:49 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2012-11-28T10:30:49Z</dc:date>
    <item>
      <title>Getting the process ID of a called subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121503#M85598</link>
      <description>Dear community,I need some help with the following scenario&lt;IMG id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;escription of the situation:I have got two processes, one parent process and one subprocess which is triggered by its parent via a call activity. The subprocess contains multiple user tasks where the user has to input various values. All p</description>
      <pubDate>Tue, 27 Nov 2012 10:00:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121503#M85598</guid>
      <dc:creator>floickelsheimer</dc:creator>
      <dc:date>2012-11-27T10:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the process ID of a called subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121504#M85599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I understand you correctly you do not need subprocess id for completing its tasks. When the state transfers from parent to sub-process you have at least one task (assuming the subprocess is not completely wait-state free) and calling:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Task task = taskService.createTaskQuery().processInstanceId(processInstance.getId()).singleResult();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with the processInstance which is your parent process you will get your task waiting for user action. As I know there is no REST/API method to complete subprocess completely. You need to complete subprocess's tasks one by one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to check whether your process state is inside subprocess or not when you tried to call "Get open tasks for a process instance".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 13:59:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121504#M85599</guid>
      <dc:creator>gokceng1</dc:creator>
      <dc:date>2012-11-27T13:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the process ID of a called subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121505#M85600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I understand you correctly you do not need subprocess id for completing its tasks. When the state transfers from parent to sub-process you have at least one task (assuming the subprocess is not completely wait-state free) and calling:&lt;BR /&gt;&lt;BR /&gt;Task task = taskService.createTaskQuery().processInstanceId(processInstance.getId()).singleResult();&lt;BR /&gt;&lt;BR /&gt;with the processInstance which is your parent process you will get your task waiting for user action.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;That is exactly what I wanted. But no, that does not work. It gives me an NPE when using Java and an empty JSON object when using the REST API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 09:43:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121505#M85600</guid>
      <dc:creator>floickelsheimer</dc:creator>
      <dc:date>2012-11-28T09:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the process ID of a called subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121506#M85601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmmm , seems to me the process instance details request should be enhanced to include that data … could you create a JIRA request for this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 10:30:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121506#M85601</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-11-28T10:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the process ID of a called subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121507#M85602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In rest, use process-instances?superProcessInstanceId=123 (see &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/#restProcessInstancesGet" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#restProcessInstancesGet&lt;/A&gt;&lt;SPAN&gt;). In java, there is a query-counterpart. This way, you can get the called process-instance. The other way around is also supported using subProcessInstanceId.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 08:02:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121507#M85602</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-09T08:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the process ID of a called subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121508#M85603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I have similar scenario , I need to query for all the active user tasks including from Sub process (Call Activity). When I query the task service using process Instance Id, I get only parent process user tasks. How to achievet that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 22:18:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121508#M85603</guid>
      <dc:creator>raghuramanpe</dc:creator>
      <dc:date>2013-09-25T22:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the process ID of a called subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121509#M85604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no single query, for the moment, to do this. Alternative is to either 1) do a native task query (see API), 2) do multiple queries or 3) add jira requesting this feature, perhaps suggesting solution with pull-request&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 08:02:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121509#M85604</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-10-02T08:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the process ID of a called subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121510#M85605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the work around we are using for this (see last post). It took me a few days to put all of the pieces together.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/get-all-active-tasks-including-sub-process-tasks" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/get-all-active-tasks-including-sub-process-tasks&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Activiti Team,&amp;nbsp; this scenario seems to come up quite a bit in these forums.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The use case is described perfectly by the OP where the deployment model is to use&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Activiti in a "headless mode" where Activiti is only used for process orchestration and not for the UI/Forms.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would save some of us a lot of head scratching if there was an official way to handle this and if it was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;described as a usage scenario in the user guide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 18:57:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121510#M85605</guid>
      <dc:creator>mikebrown01</dc:creator>
      <dc:date>2013-10-02T18:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the process ID of a called subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121511#M85606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We should indeed consider enriching the task-query with the possibility to include sub-process tasks as well. Can you make a JIRA-issue for this, so we can schedule this accordingly?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 07:54:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121511#M85606</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-10-03T07:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the process ID of a called subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121512#M85607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://jira.codehaus.org/browse/ACT-1805" rel="nofollow noopener noreferrer"&gt;https://jira.codehaus.org/browse/ACT-1805&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 16:08:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121512#M85607</guid>
      <dc:creator>mikebrown01</dc:creator>
      <dc:date>2013-10-03T16:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the process ID of a called subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121513#M85608</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 have created userTask which needs multilevel approval. when process get initiated, task id and other details are wrapped in response. But once first level1 approves(action: complete) the task a new user task gets created for level2 . let me know how to establish connection between created task for level 2 and&amp;nbsp; level 1. When i marked task action as complete response is null. I am using rest API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 06:22:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121513#M85608</guid>
      <dc:creator>rahul11</dc:creator>
      <dc:date>2013-10-29T06:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the process ID of a called subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121514#M85609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@Rahul and how is that related to this post?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 09:44:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-the-process-id-of-a-called-subprocess/m-p/121514#M85609</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-10-31T09:44:33Z</dc:date>
    </item>
  </channel>
</rss>

