<?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: How to read taskEntity Id from service task(Espicially in parallel flow)? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-read-taskentity-id-from-service-task-espicially-in/m-p/175177#M128307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Raj,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;taskDefinitionKey("A")&lt;/CODE&gt;&lt;SPAN&gt; - limits the query to return all tasks with id from process definition (there can be several tasks with the same definitionKey)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;activityId("A")&lt;/CODE&gt;&lt;SPAN&gt; -Is it possible to specify activityId on the TaskQuery?&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;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 May 2014 07:10:44 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2014-05-29T07:10:44Z</dc:date>
    <item>
      <title>How to read taskEntity Id from service task(Espicially in parallel flow)?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-read-taskentity-id-from-service-task-espicially-in/m-p/175173#M128303</link>
      <description>Hi.,In my workflow at some point, there is a parallel flow. Each leg, userTask will be created and using boundery timer on each task, firing a service task to send mail notification with taskId. I can see there is an api call to get taskIds from execution as follows.List&amp;lt;Task&amp;gt; tasks = taskServ</description>
      <pubDate>Mon, 26 May 2014 11:44:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-read-taskentity-id-from-service-task-espicially-in/m-p/175173#M128303</guid>
      <dc:creator>swamy2156</dc:creator>
      <dc:date>2014-05-26T11:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to read taskEntity Id from service task(Espicially in parallel flow)?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-read-taskentity-id-from-service-task-espicially-in/m-p/175174#M128304</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;BR /&gt;&lt;SPAN&gt;each service task can have different query. Let's say there is user task A (id="A")(with service task mailA) and in the parallel branch user task B ( with service task mailB)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in service task mailA use&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;Task taskA = taskService.createTaskQuery().processInstanceId(processInstanceId).taskDefinitionKey("A").active().singleResult();&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;(similar for service task mailB)&lt;/SPAN&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>Tue, 27 May 2014 06:25:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-read-taskentity-id-from-service-task-espicially-in/m-p/175174#M128304</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-05-27T06:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to read taskEntity Id from service task(Espicially in parallel flow)?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-read-taskentity-id-from-service-task-espicially-in/m-p/175175#M128305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah.. Thank you… You make my day Martin.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 09:35:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-read-taskentity-id-from-service-task-espicially-in/m-p/175175#M128305</guid>
      <dc:creator>swamy2156</dc:creator>
      <dc:date>2014-05-27T09:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to read taskEntity Id from service task(Espicially in parallel flow)?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-read-taskentity-id-from-service-task-espicially-in/m-p/175176#M128306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any difference in below :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Task taskA = taskService.createTaskQuery().processInstanceId(processInstanceId).taskDefinitionKey("A").active().singleResult();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Task taskA = taskService.createTaskQuery().processInstanceId(processInstanceId).activityId("A").active().singleResult();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Raj&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 02:51:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-read-taskentity-id-from-service-task-espicially-in/m-p/175176#M128306</guid>
      <dc:creator>rhiremat</dc:creator>
      <dc:date>2014-05-29T02:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to read taskEntity Id from service task(Espicially in parallel flow)?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-read-taskentity-id-from-service-task-espicially-in/m-p/175177#M128307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Raj,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;taskDefinitionKey("A")&lt;/CODE&gt;&lt;SPAN&gt; - limits the query to return all tasks with id from process definition (there can be several tasks with the same definitionKey)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;activityId("A")&lt;/CODE&gt;&lt;SPAN&gt; -Is it possible to specify activityId on the TaskQuery?&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;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 07:10:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-read-taskentity-id-from-service-task-espicially-in/m-p/175177#M128307</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-05-29T07:10:44Z</dc:date>
    </item>
  </channel>
</rss>

