Interface KogitoWorkItem
- All Superinterfaces:
org.kie.api.runtime.process.WorkItem
public interface KogitoWorkItem
extends org.kie.api.runtime.process.WorkItem
-
Field Summary
FieldsFields inherited from interface org.kie.api.runtime.process.WorkItem
ABORTED, ACTIVE, COMPLETED, PENDING -
Method Summary
Modifier and TypeMethodDescriptionReturns timestamp indicating the completion date of this work itemlonggetId()Deprecated.The node instance that is associated with this work itemReturns optional life cycle phase id associated with this work itemReturns optional life cycle phase status associated with this work itemThe process instance that requested the execution of this work itemThe id of the process instance that requested the execution of this work itemReturns timestamp indicating the start date of this work itemvoidremoveOutput(String name) voiddefault voidsetOutputs(Map<String, Object> outputs) Methods inherited from interface org.kie.api.runtime.process.WorkItem
getName, getParameter, getParameters, getProcessInstanceId, getResult, getResults, getState
-
Field Details
-
PARAMETER_UNIQUE_TASK_ID
- See Also:
-
-
Method Details
-
getId
Deprecated.- Specified by:
getIdin interfaceorg.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
-
setOutput
-
setOutputs
-