<?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 Filtering tasks by task name (Form Key) using WorkflowTaskQuery in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/filtering-tasks-by-task-name-form-key-using-workflowtaskquery/m-p/27001#M11627</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I wanted to filter the tasks using setTaskName which is the method of WorkflowTaskQuery class. I've tried it by using the below code as it requires QName as its parameter, but it didn't provide me with any of the result. I got an empty response.&lt;/P&gt;&lt;P&gt;String c1 = "aclrq&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;reparePo";&lt;BR /&gt;QName fk;&lt;BR /&gt;fk = QName.createQName(c1, namespaceService);&lt;BR /&gt;WorkflowTaskQuery taskQuery = new WorkflowTaskQuery();&lt;BR /&gt;taskQuery.setActive(null);&lt;BR /&gt;taskQuery.setWorkflowDefinitionName(workflowName);&lt;BR /&gt;taskQuery.setTaskState(state);&lt;BR /&gt;taskQuery.setTaskName(fk);&lt;BR /&gt;allTasks = workflowService.queryTasks(taskQuery);&lt;/P&gt;&lt;P&gt;Please do provide me a solution. Any help would be appreciated&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 31 Aug 2021 05:33:40 GMT</pubDate>
    <dc:creator>Tabu</dc:creator>
    <dc:date>2021-08-31T05:33:40Z</dc:date>
    <item>
      <title>Filtering tasks by task name (Form Key) using WorkflowTaskQuery</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/filtering-tasks-by-task-name-form-key-using-workflowtaskquery/m-p/27001#M11627</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I wanted to filter the tasks using setTaskName which is the method of WorkflowTaskQuery class. I've tried it by using the below code as it requires QName as its parameter, but it didn't provide me with any of the result. I got an empty response.&lt;/P&gt;&lt;P&gt;String c1 = "aclrq&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;reparePo";&lt;BR /&gt;QName fk;&lt;BR /&gt;fk = QName.createQName(c1, namespaceService);&lt;BR /&gt;WorkflowTaskQuery taskQuery = new WorkflowTaskQuery();&lt;BR /&gt;taskQuery.setActive(null);&lt;BR /&gt;taskQuery.setWorkflowDefinitionName(workflowName);&lt;BR /&gt;taskQuery.setTaskState(state);&lt;BR /&gt;taskQuery.setTaskName(fk);&lt;BR /&gt;allTasks = workflowService.queryTasks(taskQuery);&lt;/P&gt;&lt;P&gt;Please do provide me a solution. Any help would be appreciated&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 05:33:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/filtering-tasks-by-task-name-form-key-using-workflowtaskquery/m-p/27001#M11627</guid>
      <dc:creator>Tabu</dc:creator>
      <dc:date>2021-08-31T05:33:40Z</dc:date>
    </item>
  </channel>
</rss>

