<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How to get the users tasklist</title><link>https://answers.axonivy.com/questions/969/how-to-get-the-users-tasklist</link><description>&lt;p&gt;How can i get the task list of the current logged in user without the permission TaskReadAll.&lt;/p&gt;
&lt;p&gt;All methods i tried call &lt;b&gt;getTaskQueryExecutor&lt;/b&gt; which needs the permission TaskReadAll.&lt;/p&gt;
&lt;p&gt;I think the User should be allowed to read it's own tasks.&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/969/how-to-get-the-users-tasklist" rel="self"></atom:link><language>en</language><lastBuildDate>Sat, 20 Sep 2014 10:23:16 -0400</lastBuildDate><item><title>Answer by roland</title><link>https://answers.axonivy.com/questions/969/how-to-get-the-users-tasklist/972</link><description>&lt;p&gt;Hi,
in the HTML WorkflowUI it done this way.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;IQueryResult queryResult  = ivy.session.findWorkTasks(null, PropertyOrder.create(TaskProperty.ID, OrderDirection.DESCENDING), 
          0, 25, true, EnumSet.of(TaskState.SUSPENDED, TaskState.RESUMED, TaskState.PARKED));

List&amp;lt;ITask&amp;gt; tasks = queryResult.getResultList();
out.tasks = tasks;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;may be this helps.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Roland&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">roland</dc:creator><pubDate>Sat, 20 Sep 2014 10:23:16 -0400</pubDate><guid>https://answers.axonivy.com/questions/969/how-to-get-the-users-tasklist/972</guid></item></channel></rss>