public interface TaskService
Modifier and Type | Method and Description |
---|---|
Set<UserTask> |
getAllCurrentUserTasks()
Get all user tasks this user is authorized to see for all active process flows.
|
Set<CompletedElement> |
getCompletedElementsByProcessFlow(String processFlowId)
Get the completed elements of the process flow with the given identifier
|
Set<Element> |
getCurrentElementsByProcessFlow(String processFlowId)
Get the current elements of the process flow with the given identifier.
|
Set<UserTask> |
getCurrentUserTasks()
Get user tasks assigned to the current user.
|
UserTaskDetails |
getUserTaskDetails(String taskId)
Gets additional user task information including candidates, data properties, and task assignment history.
|
Set<UserTask> getAllCurrentUserTasks() throws ProcessFlowException
ProcessFlowException
- thrown if there was an issue getting the tasks from the systemSet<UserTask> getCurrentUserTasks() throws ProcessFlowException
ProcessFlowException
- thrown if there was an issue getting the tasksUserTaskDetails getUserTaskDetails(String taskId) throws ProcessFlowElementNotFoundException, ProcessFlowException
taskId
- the id of the user taskProcessFlowElementNotFoundException
- thrown if the process flow element does not exist with the specified
idProcessFlowException
- thrown if there was an issue getting the user task detailsSet<Element> getCurrentElementsByProcessFlow(String processFlowId) throws ProcessFlowException, ProcessFlowNotFoundException
processFlowId
- the identifier representing the process flowProcessFlowException
- thrown if there was an issue getting the process flow elements from the systemProcessFlowNotFoundException
- thrown if the process flow does not exist by the given identifierSet<CompletedElement> getCompletedElementsByProcessFlow(String processFlowId) throws ProcessFlowException, ProcessFlowNotFoundException
processFlowId
- the identifier representing the process flowProcessFlowException
- thrown if there was an issue getting the process flow elements from the systemProcessFlowNotFoundException
- thrown if the process flow does not exist by the given identifierCopyright (c) 2019, SAS Institute Inc., Cary, NC, USA