Interface TaskCompletion

All Known Implementing Classes:
TaskCompletionImpl

public interface TaskCompletion
A user task completion builder used in custom process forms
See Also:
  • Method Details

    • withOrigin

      TaskCompletion withOrigin(View origin)
    • withTask

      TaskCompletion withTask(org.flowable.task.api.Task task)
    • withProcessVariables

      TaskCompletion withProcessVariables(Map<String,Object> processVariables)
    • addProcessVariable

      TaskCompletion addProcessVariable(String name, Object value)
      Adds a single process variable. Multiple sequential invocations of the method are allowed
      Parameters:
      name - process variable name
      value - process variable value
    • withOutcome

      TaskCompletion withOutcome(String outcome)
    • saveInjectedProcessVariables

      TaskCompletion saveInjectedProcessVariables()
      Values of form fields that are annotated with the ProcessVariable will be collected and written to process variables when the task is completed.
    • complete

      void complete()
      Completes the task using the Task from the ProcessFormContextImpl