<?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: Some questions in Task query? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/some-questions-in-task-query/m-p/13531#M5686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;1) When asking for taskAssignee and candidate in the same query, you get the contradicting T.ASSIGNEE_ clauses. This is because the candidate user/group excludes all tasks that are already assigned.&lt;BR /&gt;&lt;BR /&gt;2) You can use the TaskQuery.taskVariableValueEquals (and in 5.4, also processVariableValueEquals) for this. Per variable you query, a extra join will be made in DB.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Thanks for your reply, I'm using version 5.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My suggestion is that if there's a heavy query interface that can combine all the runtime tables by different search criterias. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example , one user log on system, open the work list page, and just one query to list all the tasks that he can do ,including tasks assigned to him,and tasks not assigned but have this user in their coordinate users. Also, this query can combine variable based search.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Mar 2011 08:45:28 GMT</pubDate>
    <dc:creator>bojiang</dc:creator>
    <dc:date>2011-03-17T08:45:28Z</dc:date>
    <item>
      <title>Some questions in Task query?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/some-questions-in-task-query/m-p/13529#M5684</link>
      <description>Hi &amp;nbsp;&amp;nbsp;&amp;nbsp; When I want to query tasks ,I use TaskQuery to add some criteria. I want to query all the tasks that a user can do ,including tasks assigned to this user , and tasks can be pulled by this user. I use the below code to do this query.&amp;nbsp;&amp;nbsp;&amp;nbsp; pe.getTaskService().createTaskQuery().taskAssignee("life"</description>
      <pubDate>Tue, 15 Mar 2011 11:21:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/some-questions-in-task-query/m-p/13529#M5684</guid>
      <dc:creator>bojiang</dc:creator>
      <dc:date>2011-03-15T11:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions in Task query?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/some-questions-in-task-query/m-p/13530#M5685</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;1) When asking for taskAssignee and candidate in the same query, you get the contradicting T.ASSIGNEE_ clauses. This is because the candidate user/group excludes all tasks that are already assigned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) You can use the TaskQuery.taskVariableValueEquals (and in 5.4, also processVariableValueEquals) for this. Per variable you query, a extra join will be made in DB.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 10:27:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/some-questions-in-task-query/m-p/13530#M5685</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-03-16T10:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions in Task query?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/some-questions-in-task-query/m-p/13531#M5686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;1) When asking for taskAssignee and candidate in the same query, you get the contradicting T.ASSIGNEE_ clauses. This is because the candidate user/group excludes all tasks that are already assigned.&lt;BR /&gt;&lt;BR /&gt;2) You can use the TaskQuery.taskVariableValueEquals (and in 5.4, also processVariableValueEquals) for this. Per variable you query, a extra join will be made in DB.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Thanks for your reply, I'm using version 5.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My suggestion is that if there's a heavy query interface that can combine all the runtime tables by different search criterias. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example , one user log on system, open the work list page, and just one query to list all the tasks that he can do ,including tasks assigned to him,and tasks not assigned but have this user in their coordinate users. Also, this query can combine variable based search.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 08:45:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/some-questions-in-task-query/m-p/13531#M5686</guid>
      <dc:creator>bojiang</dc:creator>
      <dc:date>2011-03-17T08:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions in Task query?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/some-questions-in-task-query/m-p/13532#M5687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Such a query is not yet possible wioth the public API, but you can of course always write the query yourself if it is really not possible to do it in-mem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 16:36:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/some-questions-in-task-query/m-p/13532#M5687</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-03-21T16:36:22Z</dc:date>
    </item>
  </channel>
</rss>

