Hi,
Using Bizlogic API,How to find count of assigned workitem to specific user for given Process Template name,Task Name and user Name ?.
I need to build one custom function using savvion API where input parameter are process template name,Task Name(work step name) and User Name .
this function will return the total count of workitem assigned to given user name at given workstep on given process template.
Thanks and Regards
Hiren Patel
Hi Hiren,
Try using Bizlogic query Service APIs. com.savvion.sbm.bizlogic.client.queryservice.QSWorkItem
Thanks,
Sandip
Hi Hiren,
Query 1)
qsWorkItemFilter.setProcessName("bz");
qsWorkItemFilter.setUser("ebms");
qsWorkItemFilter.setCondition("BLWI.WORKSTEP_NAME='abc'");
qsWorkItemrs=qsWorkItem.getAssignedList(qsWorkItemFilter);
System.out.println("\nThe size of List is : "+qsWorkItemrs.getList().size());
Query 2)
qsWorkItemFilter.setProcessName("bz");
qsWorkItemFilter.setUser("ebms");
qsWorkItemFilter.setCondition("BLIDS.FirstName='sandips'");
qsWorkItemrs=qsWorkItem.getAssignedList(qsWorkItemFilter);
System.out.println("\nThe size of List is : "+qsWorkItemrs.getList().size());
Thanks,
Sandip