<?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 ActivitiWorkflowEngine does not include receiveTask in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activitiworkflowengine-does-not-include-receivetask/m-p/21788#M9568</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we have encounter some issue. We would like to use Activiti receiveTask for some system handling (waiting for another action to happen or to be processed by cron).&lt;/P&gt;&lt;P&gt;But in our workflow history we are not able to get these type of tasks by workflow definition. I am able to query for these tasks, but Activiti API does not seem to query it by itself.&lt;/P&gt;&lt;P&gt;If we use:&amp;nbsp;&lt;SPAN&gt;share/proxy/alfresco/api/workflow-instances/activiti$1073?includeTasks=true ; receiveTask is not there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any way to get these tasks?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Reason: user should see that workflow is still active and that the task is actually in system state waiting for something.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Edit: we use class:&amp;nbsp;org/alfresco/repo/workflow/activiti/ActivitiWorkflowEngine.java and it's method:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;public List&amp;lt;WorkflowTaskDefinition&amp;gt; getTaskDefinitions(String workflowDefinitionId)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But these one apparently returns only user tasks. And I really don't wanna override this method.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2019 14:40:30 GMT</pubDate>
    <dc:creator>p31r</dc:creator>
    <dc:date>2019-11-08T14:40:30Z</dc:date>
    <item>
      <title>ActivitiWorkflowEngine does not include receiveTask</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activitiworkflowengine-does-not-include-receivetask/m-p/21788#M9568</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we have encounter some issue. We would like to use Activiti receiveTask for some system handling (waiting for another action to happen or to be processed by cron).&lt;/P&gt;&lt;P&gt;But in our workflow history we are not able to get these type of tasks by workflow definition. I am able to query for these tasks, but Activiti API does not seem to query it by itself.&lt;/P&gt;&lt;P&gt;If we use:&amp;nbsp;&lt;SPAN&gt;share/proxy/alfresco/api/workflow-instances/activiti$1073?includeTasks=true ; receiveTask is not there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any way to get these tasks?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Reason: user should see that workflow is still active and that the task is actually in system state waiting for something.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Edit: we use class:&amp;nbsp;org/alfresco/repo/workflow/activiti/ActivitiWorkflowEngine.java and it's method:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;public List&amp;lt;WorkflowTaskDefinition&amp;gt; getTaskDefinitions(String workflowDefinitionId)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But these one apparently returns only user tasks. And I really don't wanna override this method.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 14:40:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activitiworkflowengine-does-not-include-receivetask/m-p/21788#M9568</guid>
      <dc:creator>p31r</dc:creator>
      <dc:date>2019-11-08T14:40:30Z</dc:date>
    </item>
  </channel>
</rss>

