As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
public String getCandidateGroupsForTask(String taskid) {<br><br> IdentityService is = engine.getIdentityService();<br> TaskService ts = engine.getTaskService();<br><br> List<IdentityLink> il = ts.getIdentityLinksForTask(taskid);<br> String str = "";<br><br> Vector ve = new Vector();<br> for (int n = 0; n < il.size(); n++) {<br><br> IdentityLink cil = il.get(n);<br><br> String gid = cil.getGroupId();<br><br> if (gid != null) {<br> <br> ve.add(gid);<br> <br> }<br> }<br> for (int l = 0; l < ve.size(); l++) {<br> str += ve.elementAt(l);<br> if (l < ve.size() - 1)<br> str += ",";<br> }<br><br> return str;<br> }
<br> TaskFormData data = formService.getTaskFormData(taskId);<br><br> TaskEntity t = (TaskEntity) data.getTask();<br>