public interface TaskService
Modifier and Type | Method and Description |
---|---|
Set<UserTask> |
getAllCurrentUserTasks()
Gets all user tasks that the user is authorized to see for all active process flows.
|
Set<CompletedElement> |
getCompletedElementsByProcessFlow(String processFlowId)
Gets the completed elements of the process flow with the identifier.
|
Set<Element> |
getCurrentElementsByProcessFlow(String processFlowId)
Gets the current elements of the process flow with the identifier.
|
Set<UserTask> |
getCurrentUserTasks()
Gets the user tasks that are assigned to the current user and tasks for which the current user is a candidate for all
active process flows.
|
UserTaskDetails |
getUserTaskDetails(String taskId)
Gets additional user task information, which includes candidates, data properties, and task assignment history.
|
Set<UserTask> getAllCurrentUserTasks() throws ProcessFlowException
ProcessFlowException
- thrown when there is an issue getting the tasks.Set<UserTask> getCurrentUserTasks() throws ProcessFlowException
ProcessFlowException
- thrown when there is an issue getting the tasks.UserTaskDetails getUserTaskDetails(String taskId) throws ProcessFlowElementNotFoundException, ProcessFlowException
taskId
- the identifier of the user task.ProcessFlowElementNotFoundException
- thrown when the user task with the identifier does not exist.ProcessFlowException
- thrown when there is an issue getting the user task details.Set<Element> getCurrentElementsByProcessFlow(String processFlowId) throws ProcessFlowException, ProcessFlowNotFoundException
processFlowId
- the identifier of the process flow.ProcessFlowException
- thrown when there ias an issue getting the process flow elements.ProcessFlowNotFoundException
- thrown when the process flow with the identifier does not exist.Set<CompletedElement> getCompletedElementsByProcessFlow(String processFlowId) throws ProcessFlowException, ProcessFlowNotFoundException
processFlowId
- the identifier of the process flow.ProcessFlowException
- thrown when there is an issue getting the process flow elements.ProcessFlowNotFoundException
- thrown when the process flow with the identifier does not exist.Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA