Hi, I have to get a list of pending approvals by a given user. I tried
with Java API using the 'getWorkEntries' (http://tinyurl.com/mydp5s4)
method with the Addressee filter: e.g.


Code:
--------------------


T_WorkEntryQueryChoice[] workEntryqueryChoice = new T_WorkEntryQueryChoice[1];
workEntryqueryChoice[0] = new T_WorkEntryQueryChoice();
workEntryqueryChoice[0].setAddressee("self");
T_WorkEntryQuery query = new T_WorkEntryQuery(T_Logic.AND, T_WorkEntryOrder.CREATION, workEntryqueryChoice);
WorkEntryArray workEntryArray = prov.getWorkEntries(query, -1);


--------------------


The problem is that it returns only items assigned directly to the user
(3 wfs). Accessing by the userapp portal I can see up to 15 wfs. The
main difference is that the other 12 wfs are assigned to roles not
users.

How can I get the full list ?


--
cnrossi
------------------------------------------------------------------------
cnrossi's Profile: https://forums.netiq.com/member.php?userid=937
View this thread: https://forums.netiq.com/showthread.php?t=50813