public interface WorkflowTaskManager
| Modifier and Type | Method and Description |
|---|---|
org.apache.syncope.core.provisioning.api.UserWorkflowResult<String> |
executeNextTask(WorkflowTaskExecInput workflowTaskExecInput)
Execute a task on an user.
|
List<WorkflowTask> |
getAvailableTasks(String userKey)
Get tasks available for execution, for given user.
|
<T> T |
getVariable(String executionId,
String variableName,
Class<T> variableClass)
Gets variable value.
|
void |
setVariable(String executionId,
String variableName,
Object value)
Updates or create sa variable for an execution.
|
<T> T getVariable(String executionId, String variableName, Class<T> variableClass)
T - variable typeexecutionId - id of execution, cannot be null.variableName - name of variable, cannot be null.variableClass - class of variable, cannot be null.org.flowable.common.engine.api.FlowableObjectNotFoundException - when no execution is found for the given executionId.ClassCastException - when cannot cast variable to given classvoid setVariable(String executionId, String variableName, Object value)
executionId - id of execution to set variable in, cannot be null.variableName - name of variable to set, cannot be null.value - value to set; when null is passed, the variable is not removed, only it's value will be set to nullorg.flowable.common.engine.api.FlowableObjectNotFoundException - when no execution is found for the given executionId.List<WorkflowTask> getAvailableTasks(String userKey)
userKey - user keyorg.apache.syncope.core.provisioning.api.UserWorkflowResult<String> executeNextTask(WorkflowTaskExecInput workflowTaskExecInput)
workflowTaskExecInput - input for task executionCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.