<?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 How to get the finished, pending and upcoming tasks in the workflow at runtime? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-finished-pending-and-upcoming-tasks-in-the/m-p/229902#M183032</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have the following model: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start -&amp;gt; Service Task -&amp;gt; User Task -&amp;gt; Mail Task -&amp;gt; End&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Suppose the current task under execution is User Task, is there a way to get the list of tasks that have been completed before this User Task(Service Task according to our model) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and the upcoming tasks that need to be executed after the completion of this User Task(Mail Task according to our model)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and unfinished tasks(suppose the mail task doesn't get triggered as the user has not completed the task assigned to him).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have tried using "historyService.createHistoricActivityInstanceQuery().finished().processInstanceId(processid).list();" and "historyService.createHistoricActivityInstanceQuery().unfinished().processInstanceId(processid).list();"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but it fetches the task list only after the process is instantiated and completed and not during runtime.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Mar 2016 13:30:02 GMT</pubDate>
    <dc:creator>kum9sud</dc:creator>
    <dc:date>2016-03-14T13:30:02Z</dc:date>
    <item>
      <title>How to get the finished, pending and upcoming tasks in the workflow at runtime?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-finished-pending-and-upcoming-tasks-in-the/m-p/229902#M183032</link>
      <description>We have the following model: Start -&amp;gt; Service Task -&amp;gt; User Task -&amp;gt; Mail Task -&amp;gt; EndSuppose the current task under execution is User Task, is there a way to get the list of tasks that have been completed before this User Task(Service Task according to our model) and the upcoming tasks tha</description>
      <pubDate>Mon, 14 Mar 2016 13:30:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-finished-pending-and-upcoming-tasks-in-the/m-p/229902#M183032</guid>
      <dc:creator>kum9sud</dc:creator>
      <dc:date>2016-03-14T13:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the finished, pending and upcoming tasks in the workflow at runtime?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-finished-pending-and-upcoming-tasks-in-the/m-p/229903#M183033</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;BLOCKQUOTE class="jive-quote"&gt;is there a way to get the list of tasks that have been completed before this User Task(Service Task according to our model)&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;use &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#history" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#history&lt;/A&gt;&lt;SPAN&gt; and HistoryService queries&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;and the upcoming tasks that need to be executed after the completion of this User Task(Mail Task according to our model)&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;I see 2 possibilities simulation (crystalball) or you can just simply parse xml file and see the next tasks in the row (BpmnModel stores this information too, you can get it from the repository service)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;and unfinished tasks&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;see previous&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 07:25:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-finished-pending-and-upcoming-tasks-in-the/m-p/229903#M183033</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-03-15T07:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the finished, pending and upcoming tasks in the workflow at runtime?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-finished-pending-and-upcoming-tasks-in-the/m-p/229904#M183034</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;Does the Activiti-CrystalBalll include the Activiti-Explorer? If it does not, how can we integrate the two? And if Activiti-CrystalBall contains Activiti-Explorer, then is there a way we can make use of the Activiti-CrystalBall alone?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 13:01:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-finished-pending-and-upcoming-tasks-in-the/m-p/229904#M183034</guid>
      <dc:creator>kum9sud</dc:creator>
      <dc:date>2016-03-15T13:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the finished, pending and upcoming tasks in the workflow at runtime?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-finished-pending-and-upcoming-tasks-in-the/m-p/229905#M183035</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;check the code of the module activiti-crystalball. There are jUnit tests. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can check some resources in &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gro-mar.github.io/activiti-crystalball/" rel="nofollow noopener noreferrer"&gt;http://gro-mar.github.io/activiti-crystalball/&lt;/A&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 06:34:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-finished-pending-and-upcoming-tasks-in-the/m-p/229905#M183035</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-03-30T06:34:19Z</dc:date>
    </item>
  </channel>
</rss>

