Interface KogitoWorkItem

All Superinterfaces:
org.kie.api.runtime.process.WorkItem

public interface KogitoWorkItem extends org.kie.api.runtime.process.WorkItem
  • Field Details

  • Method Details

    • getId

      @Deprecated long getId()
      Deprecated.
      Specified by:
      getId in interface org.kie.api.runtime.process.WorkItem
    • getExternalReferenceId

      String getExternalReferenceId()
    • getActualOwner

      String getActualOwner()
    • getStringId

      String getStringId()
    • getProcessInstanceStringId

      String getProcessInstanceStringId()
      The id of the process instance that requested the execution of this work item
      Returns:
      the id of the related process instance
    • getPhaseId

      String getPhaseId()
      Returns optional life cycle phase id associated with this work item
      Returns:
      optional life cycle phase id
    • getPhaseStatus

      String getPhaseStatus()
      Returns optional life cycle phase status associated with this work item
      Returns:
      optional life cycle phase status
    • getStartDate

      Date getStartDate()
      Returns timestamp indicating the start date of this work item
      Returns:
      start date
    • getCompleteDate

      Date getCompleteDate()
      Returns timestamp indicating the completion date of this work item
      Returns:
      completion date
    • getNodeInstance

      KogitoNodeInstance getNodeInstance()
      The node instance that is associated with this work item
      Returns:
      the related node instance
    • getProcessInstance

      KogitoProcessInstance getProcessInstance()
      The process instance that requested the execution of this work item
      Returns:
      the related process instance
    • removeOutput

      void removeOutput(String name)
    • setOutput

      void setOutput(String name, Object value)
    • setOutputs

      default void setOutputs(Map<String,Object> outputs)