Hi There.
I'm in the process of developing a DFC component that requires to get the User's Work Queue Tasks. I am currently unable and urgently require assistance please.
Below is a snippet of the NOT working code:
DfClientX clientx = new DfClientX();
IDfClient client = clientx.getLocalClient();
IDfSessionManager mySessMgr = client.newSessionManager();
IDfLoginInfo loginInfo = clientx.getLoginInfo();
loginInfo.setUser(user);
loginInfo.setPassword(password);
mySessMgr.setIdentity(repository, loginInfo);
IWorkQueueMgmt wqMgmt = null;
wqMgmt.getSession(repository);
IUserQueue userQueue = wqMgmt.getUserQueue(user);
IDfList wqNames = new DfList();
wqNames.setElementType(IDfList.DF_STRING);
wqNames.appendString("applicationapproval");
IDfCollection wqColl = userQueue.getHighestPriorityTasks(wqNames);
There is no example in the DFC or BPM Javadocs and would appreciate that help.
Thanks
Chris