Interface WorkflowProcessInstance

All Superinterfaces:
EventListener, NodeInstanceContainer, ProcessInstance

public interface WorkflowProcessInstance extends ProcessInstance, NodeInstanceContainer
A workflow process instance represents one specific instance of a workflow process that is currently executing. It is an extension of a ProcessInstance and contains all runtime state related to the execution of workflow processes.
See Also:
  • Method Details

    • getVariable

      Object getVariable(String name)
      Returns the value of the variable with the given name. Note that only variables in the process-level scope will be searched. Returns null if the value of the variable is null or if the variable cannot be found.
      Parameters:
      name - the name of the variable
      Returns:
      the value of the variable, or null if it cannot be found
    • setVariable

      void setVariable(String name, Object value)