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 Item loadSingleResult(String id) { HistoricProcessInstance processInstance = historyService.createHistoricProcessInstanceQuery() .startedBy(ExplorerApp.get().getLoggedInUser().getId()) .unfinished() .processInstanceId(id).singleResult(); if (processInstance != null) { return createItem(processInstance); } return null; }
<br> /**<br> * Select the process instances with which the user with the given id is involved. <br> */<br> ProcessInstanceQuery involvedUser(String userId);<br>
But I want a query that gives to the user the graphic image of the process that he's involved, not just the started processes.