Interface ProcessInstance

All Superinterfaces:
ContextableInstance, ContextInstanceContainer, org.kie.api.runtime.process.EventListener, KogitoEventListener, KogitoProcessInstance, org.kie.api.runtime.process.ProcessInstance
All Known Subinterfaces:
WorkflowProcessInstance
All Known Implementing Classes:
ProcessInstanceImpl, RuleFlowProcessInstance, WorkflowProcessInstanceImpl

public interface ProcessInstance extends KogitoProcessInstance, ContextInstanceContainer, ContextableInstance
A process instance is the representation of a process during its execution. It contains all the runtime status information about the running process. A process can have multiple instances.
  • Method Details

    • setId

      void setId(String id)
    • getProcess

      org.kie.api.definition.process.Process getProcess()
      Specified by:
      getProcess in interface org.kie.api.runtime.process.ProcessInstance
    • setProcess

      void setProcess(org.kie.api.definition.process.Process process)
    • setState

      void setState(int state)
    • setState

      void setState(int state, String outcome)
    • setState

      void setState(int state, String outcome, Object faultData)
    • setErrorState

      void setErrorState(NodeInstance nodeInstanceInError, Exception e)
    • getKnowledgeRuntime

      org.drools.core.common.InternalKnowledgeRuntime getKnowledgeRuntime()
    • setKnowledgeRuntime

      void setKnowledgeRuntime(org.drools.core.common.InternalKnowledgeRuntime kruntime)
    • start

      void start()
    • start

      void start(String trigger)
    • getOutcome

      String getOutcome()
    • setParentProcessInstanceId

      void setParentProcessInstanceId(String parentId)
    • setRootProcessInstanceId

      void setRootProcessInstanceId(String parentId)
    • setRootProcessId

      void setRootProcessId(String processId)
    • getMetaData

      Map<String,Object> getMetaData()
    • setMetaData

      void setMetaData(String name, Object data)
    • getFaultData

      Object getFaultData()
    • isSignalCompletion

      boolean isSignalCompletion()
    • setSignalCompletion

      void setSignalCompletion(boolean signalCompletion)
    • getDeploymentId

      String getDeploymentId()
    • setDeploymentId

      void setDeploymentId(String deploymentId)
    • getStartDate

      Date getStartDate()
    • setStartDate

      void setStartDate(Date date)
    • getSlaCompliance

      int getSlaCompliance()
    • configureTimers

      void configureTimers()
    • setReferenceId

      void setReferenceId(String referenceId)
    • disconnect

      void disconnect()
    • reconnect

      void reconnect()
    • getAgendaFilter

      org.kie.api.runtime.rule.AgendaFilter getAgendaFilter()
    • setAgendaFilter

      void setAgendaFilter(org.kie.api.runtime.rule.AgendaFilter agendaFilter)