Skip to Content
0
Former Member
May 21, 2008 at 06:42 AM

GP :How to get only those WorkItems for a particular Process Instance ID

47 Views

Hi,

I have to get only those work items for a particular Process Instance ID.

Currently I am able to get all gp workitems of a status, for a user.

IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(epUser1);
	          IGPWorkItem[] openItems = rtm.getWorkItems(GPWorkItemStatus.WORKITEM_STATUS_OPEN, userContext);

Now I want to get the gp work items for a particualr process instance ID. Is it possible?

Please help me.

Thanks and regards

Smitha