02-25-2013 02:09 PM
…
NodeRef person = personService.getPerson("username");
WorkflowTaskQuery query = new WorkflowTaskQuery();
query.setActive(true);
query.setTaskState(WorkflowTaskState.IN_PROGRESS);
query.setTaskName(QName.createQName("http://www.myorg.com/model/workflow/1.0", "myTask"));
Map<QName, Object> queryTaskCustomProps = new HashMap<QName, Object>();
queryTaskCustomProps.put(ContentModel.PROP_OWNER, "HELP HERE");
query.setTaskCustomProps(queryTaskCustomProps);
List<WorkflowTask> results = workflowService.queryTasks(query, false);
…
02-25-2013 02:53 PM
…
queryTaskCustomProps.put(QName.createQName(NamespaceService.BPM_MODEL_1_0_URI, "pooledActors"), "MY_GROUP NAME OR NODEREF");
query.setTaskCustomProps(queryTaskCustomProps);
…
02-26-2013 03:04 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.