<?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: Get the next tasks in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-the-next-tasks/m-p/291657#M244787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I believe its not possible to get next Task as its not yet instantiated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If current task is ended/completed then you can get next task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suppose, I have startTask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;workflowService.endTask(startTask.id, null); // end start task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflowService.getTasksForWorkflowPath(startTask.getPath().getId()); //It will give you next task list&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//do logical operation before user access this task from UI&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Sep 2013 06:24:31 GMT</pubDate>
    <dc:creator>niketapatel</dc:creator>
    <dc:date>2013-09-28T06:24:31Z</dc:date>
    <item>
      <title>Get the next tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-the-next-tasks/m-p/291656#M244786</link>
      <description>Hi,I have a simple question : is it possible via the WorkflowService (or another way) to get the next tasks (WorkflowTask) from a given task.I can retrieve the transitions from a given task like this :WorkflowTransition[] transitions = task.getPath().getNode().getTransitions();‍I would like to do th</description>
      <pubDate>Tue, 24 Sep 2013 15:41:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-the-next-tasks/m-p/291656#M244786</guid>
      <dc:creator>tonyrivet</dc:creator>
      <dc:date>2013-09-24T15:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get the next tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-the-next-tasks/m-p/291657#M244787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I believe its not possible to get next Task as its not yet instantiated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If current task is ended/completed then you can get next task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suppose, I have startTask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;workflowService.endTask(startTask.id, null); // end start task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflowService.getTasksForWorkflowPath(startTask.getPath().getId()); //It will give you next task list&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//do logical operation before user access this task from UI&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Sep 2013 06:24:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-the-next-tasks/m-p/291657#M244787</guid>
      <dc:creator>niketapatel</dc:creator>
      <dc:date>2013-09-28T06:24:31Z</dc:date>
    </item>
  </channel>
</rss>

