<?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: In Java, how do I get a list of all the WorkflowTask object for a Workflow in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/in-java-how-do-i-get-a-list-of-all-the-workflowtask-object-for-a/m-p/144754#M38396</link>
    <description>&lt;P&gt;I have been through that tutorial several times,&amp;nbsp; and it seems to be geared more twords the workflow console and not the Java.&amp;nbsp; I am looking for more of a java based approach.&amp;nbsp; like, without haveing to go through source code (which I may endup doing) java examples for each of those dashboard commands.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jul 2021 00:48:30 GMT</pubDate>
    <dc:creator>mangar</dc:creator>
    <dc:date>2021-07-09T00:48:30Z</dc:date>
    <item>
      <title>In Java, how do I get a list of all the WorkflowTask object for a Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/in-java-how-do-i-get-a-list-of-all-the-workflowtask-object-for-a/m-p/144752#M38394</link>
      <description>&lt;P&gt;I am trying to create a web page that describes the state of a particular workflow.&amp;nbsp; First I have to get that information.&amp;nbsp; So in Java through the WorkflowService,&amp;nbsp; I can get a list of workflows that are in progress.&amp;nbsp; perfect.&lt;/P&gt;&lt;P&gt;But from there it gets hard.&amp;nbsp; There is nothing like getTaskInstanceForWorkflow(workflowInstanceId)&amp;nbsp; that returns a List of TaskInstance.&amp;nbsp; I want a way to traverse a wokflow and pull info from it.&lt;/P&gt;&lt;P&gt;Can someone point me in the right direction?&amp;nbsp; Is there a tutorial out there that focuses on a pure Java aproach to handleing workflows?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 22:18:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/in-java-how-do-i-get-a-list-of-all-the-workflowtask-object-for-a/m-p/144752#M38394</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2021-07-07T22:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: In Java, how do I get a list of all the WorkflowTask object for a Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/in-java-how-do-i-get-a-list-of-all-the-workflowtask-object-for-a/m-p/144753#M38395</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Maybe &lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html" target="_self" rel="nofollow noopener noreferrer"&gt;this tutorial&lt;/A&gt; can help you to clarify what is possible to achieve and how. But, you need to take in account &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-blog/alfresco-community-edition-7-0-release-notes/ba-p/305610#REST-API-Explorer" target="_self" rel="nofollow noopener noreferrer"&gt;the API&lt;/A&gt; of your Alfresco version.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 06:57:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/in-java-how-do-i-get-a-list-of-all-the-workflowtask-object-for-a/m-p/144753#M38395</guid>
      <dc:creator>cristinamr</dc:creator>
      <dc:date>2021-07-08T06:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: In Java, how do I get a list of all the WorkflowTask object for a Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/in-java-how-do-i-get-a-list-of-all-the-workflowtask-object-for-a/m-p/144754#M38396</link>
      <description>&lt;P&gt;I have been through that tutorial several times,&amp;nbsp; and it seems to be geared more twords the workflow console and not the Java.&amp;nbsp; I am looking for more of a java based approach.&amp;nbsp; like, without haveing to go through source code (which I may endup doing) java examples for each of those dashboard commands.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 00:48:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/in-java-how-do-i-get-a-list-of-all-the-workflowtask-object-for-a/m-p/144754#M38396</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2021-07-09T00:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: In Java, how do I get a list of all the WorkflowTask object for a Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/in-java-how-do-i-get-a-list-of-all-the-workflowtask-object-for-a/m-p/144755#M38397</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;On that tutorial you have examples about how can you build &lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html#step-2-implement-web-scripts-and-actions" target="_self" rel="nofollow noopener noreferrer"&gt;your first workflow using java&lt;/A&gt;, after you have it, you'll need to play by yourself using the Java api according to your Alfresco's version.&lt;/P&gt;&lt;P&gt;In adition you have &lt;A href="https://docs.alfresco.com/content-services/latest/admin/workflows/" target="_self" rel="nofollow noopener noreferrer"&gt;this&lt;/A&gt; in the official documentation.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Cristina.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 07:55:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/in-java-how-do-i-get-a-list-of-all-the-workflowtask-object-for-a/m-p/144755#M38397</guid>
      <dc:creator>cristinamr</dc:creator>
      <dc:date>2021-07-09T07:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: In Java, how do I get a list of all the WorkflowTask object for a Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/in-java-how-do-i-get-a-list-of-all-the-workflowtask-object-for-a/m-p/144756#M38398</link>
      <description>&lt;P&gt;You can try&amp;nbsp;WorkflowTaskQuery to get tasks of instance.&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;PRE&gt;WorkflowTaskQuery taskQuery = new WorkflowTaskQuery();
taskQuery.setActive(null);
taskQuery.setProcessId(workflowInstanceId);
taskQuery.setTaskState(state);
taskQuery.setOrderBy(new OrderBy[] { OrderBy.TaskDue_Asc });
List&amp;lt;WorkflowTask&amp;gt; allTasks; = workflowService.queryTasks(taskQuery);&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jul 2021 08:23:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/in-java-how-do-i-get-a-list-of-all-the-workflowtask-object-for-a/m-p/144756#M38398</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2021-07-09T08:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: In Java, how do I get a list of all the WorkflowTask object for a Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/in-java-how-do-i-get-a-list-of-all-the-workflowtask-object-for-a/m-p/144757#M38399</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/36939"&gt;@sanjaybandhniya&lt;/A&gt;&amp;nbsp; by the way do you know an updated tutorial for developing workflows? Maybe that can help too &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/20164"&gt;@mangar&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 09:21:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/in-java-how-do-i-get-a-list-of-all-the-workflowtask-object-for-a/m-p/144757#M38399</guid>
      <dc:creator>cristinamr</dc:creator>
      <dc:date>2021-07-09T09:21:02Z</dc:date>
    </item>
  </channel>
</rss>

