|
From: Tim U. <ti...@di...> - 2004-01-12 16:33:40
|
> >Try getting workitem info from catalog: > ># If you want to get only workitems that are active or inactive, you ># should do: wis = cat(meta_type='Workitem', status=['inactive']) or ># status=['active'], ... or if you want to get workitems assigned to ># an user add actor='your-user-name' or ># actor=AUTHENTICATED_USER.getUserName() >wis = cat(meta_type='Workitem') Thanks for the tip, this worked great. This works great for searching on top level attributes but can you tell me how I might search for attributes of the workitem itself. As the instance travels through the workflow I add attributes to it using the instance.manage_addProperty api and I'd like to query for workitems which have a certain property. Thanks again. :wq Tim Uckun US Investigations Services/Due Diligence http://www.diligence.com/ |