|
|
|
|
Re: unexpected work list query result [message #1630328 is a reply to message #1627805] |
Mon, 23 February 2015 05:59 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Hideo Sashida![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=osakanaya%40gmail.com) Messages: 5 Registered: September 2012 |
Junior Member |
|
|
Dear kayvan,
User "motu" have access to worklist of "motu" user. Assuming "motu" is a member of "Administrator" role, "motu" user has its private user worklist (worklist 1) and role/organization shared worklist for "Administrator" role(worklist 2) for its worklists.
When a manual activity's participant is set to "Administrator" role in your model, suspended activity instances(AIs) are located in worklist 2. For those AIs, you can select them by using WorklistQuery that is constructed by calling WorklistQuery.findCompleteWorklist().
When "motu" user activates the activity instance in a manual activity, such AIs, which are in Application state, are not listed in worklist 2 any more. They are listed in worklist 1 instead. In such case, you can select them by usgin WorklistQuery that is constructured by calling WorklistQuery.findPrivateWorklist().
Does this answer to your question?
Regards,
Hideo
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04176 seconds