Interface KogitoProcessInstance

All Superinterfaces:
org.kie.api.runtime.process.EventListener, KogitoEventListener, org.kie.api.runtime.process.ProcessInstance
All Known Subinterfaces:
KogitoWorkflowProcessInstance

public interface KogitoProcessInstance extends org.kie.api.runtime.process.ProcessInstance, KogitoEventListener
  • Field Details

  • Method Details

    • getStringId

      String getStringId()
    • getRootProcessInstanceId

      String getRootProcessInstanceId()
      Returns root process instance id if this process instance has a root process instance
      Returns:
      the unique id of root process instance, null if this process instance doesn't have a root or is a root itself
    • getRootProcessId

      String getRootProcessId()
      The id of the root process definition that is related to this process instance.
      Returns:
      the id of the root process definition that is related to this process instance
    • getVariables

      Map<String,Object> getVariables()
      Returns current snapshot of process instance variables
      Returns:
      non empty map of process instance variables
    • getReferenceId

      String getReferenceId()
      Returns optional reference id this process instance was triggered by
      Returns:
      reference id or null if not set
    • getDescription

      String getDescription()
      The description of the current process instance
      Returns:
      the process instance description
    • getBusinessKey

      String getBusinessKey()
      Returns optional business key of the process instance
      Returns:
      the business key or null if not set
    • getStartDate

      Date getStartDate()
    • getHeaders

      Map<String,List<String>> getHeaders()
      Returns optional header of the process instance
      Returns:
      map with headers
    • wrap

      void wrap(ProcessInstance<?> kogitoProcessInstance)
    • unwrap

      ProcessInstance<?> unwrap()