Package org.kie.api.runtime.process
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 aProcessInstanceand contains all runtime state related to the execution of workflow processes.- See Also:
- ProcessInstance
 
- 
- 
Field Summary- 
Fields inherited from interface org.kie.api.runtime.process.ProcessInstanceSLA_ABORTED, SLA_MET, SLA_NA, SLA_PENDING, SLA_VIOLATED, STATE_ABORTED, STATE_ACTIVE, STATE_COMPLETED, STATE_PENDING, STATE_SUSPENDED
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetVariable(String name)Returns the value of the variable with the given name.voidsetVariable(String name, Object value)- 
Methods inherited from interface org.kie.api.runtime.process.EventListenergetEventTypes, signalEvent
 - 
Methods inherited from interface org.kie.api.runtime.process.NodeInstanceContainergetNodeInstance, getNodeInstances
 - 
Methods inherited from interface org.kie.api.runtime.process.ProcessInstancegetId, getParentProcessInstanceId, getProcess, getProcessId, getProcessName, getState
 
- 
 
- 
- 
- 
Method Detail- 
getVariableObject 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. Returnsnullif 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 nullif it cannot be found
 
 
- 
 
-