Package org.flowable.task.api
Interface TaskInfo
- All Known Subinterfaces:
HistoricTaskInstance
,Task
public interface TaskInfo
- Author:
- Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptionThe user id of the person to which this task is delegated.Returns the case variables if requested in the task queryThe category of the task.The user reference that claimed this taskThe claim time of this taskThe date/time when this task was createdFree text description of the task.Due date of the task.Reference to the path of execution or null if it is not related to a process instance.The form key for the user taskgetId()
DB id of the task.List<? extends org.flowable.identitylink.api.IdentityLinkInfo>
Returns the identity links.In progress start due date of the task.The user reference that put this task in progressThe date/time when this task was put in progressgetName()
Name or title of the task.getOwner()
The user id of the person that is responsible for this task.The parent task for which this task is a subtaskint
Indication of how important/urgent this task isReference to the process definition or null if it is not related to a process.Reference to the process instance or null if it is not related to a process instance.Returns the process variables if requested in the task queryIf this task runs in the context of a case and stage, this method returns it's closest parent stage instance id (the stage plan item instance id to be precise).Reference to a scope definition identifier or null if none is set (e.g. for bpmn process task it is null)Reference to a scope identifier or null if none is set (e.g. for bpmn process task it is null)Reference to a scope type or null if none is set (e.g. for bpmn process task it is null)getState()
The state of this taskReference to a sub scope identifier or null if none is set (e.g. for bpmn process task it is null)The user reference that suspended this taskThe suspended time of this taskReference to the task definition or null if it is not related to any task definition.The id of the activity in the process defining this task or null if this is not related to a processReturns the local task variables if requested in the task queryThe tenant identifier of this task
-
Method Details
-
getId
String getId()DB id of the task. -
getName
String getName()Name or title of the task. -
getDescription
String getDescription()Free text description of the task. -
getPriority
int getPriority()Indication of how important/urgent this task is -
getOwner
String getOwner()The user id of the person that is responsible for this task. -
getAssignee
String getAssignee()The user id of the person to which this task is delegated. -
getProcessInstanceId
String getProcessInstanceId()Reference to the process instance or null if it is not related to a process instance. -
getExecutionId
String getExecutionId()Reference to the path of execution or null if it is not related to a process instance. -
getTaskDefinitionId
String getTaskDefinitionId()Reference to the task definition or null if it is not related to any task definition. -
getProcessDefinitionId
String getProcessDefinitionId()Reference to the process definition or null if it is not related to a process. -
getScopeId
String getScopeId()Reference to a scope identifier or null if none is set (e.g. for bpmn process task it is null) -
getSubScopeId
String getSubScopeId()Reference to a sub scope identifier or null if none is set (e.g. for bpmn process task it is null) -
getScopeType
String getScopeType()Reference to a scope type or null if none is set (e.g. for bpmn process task it is null) -
getScopeDefinitionId
String getScopeDefinitionId()Reference to a scope definition identifier or null if none is set (e.g. for bpmn process task it is null) -
getPropagatedStageInstanceId
String getPropagatedStageInstanceId()If this task runs in the context of a case and stage, this method returns it's closest parent stage instance id (the stage plan item instance id to be precise). Even if the direct parent of the task is a process which itself might have been created out of a process task of a case, its stage instance is reflected in the task.- Returns:
- the stage instance id this task belongs to or null, if this task is not part of a case at all or is not a child element of a stage
-
getState
String getState()The state of this task -
getCreateTime
Date getCreateTime()The date/time when this task was created -
getInProgressStartTime
Date getInProgressStartTime()The date/time when this task was put in progress -
getInProgressStartedBy
String getInProgressStartedBy()The user reference that put this task in progress -
getClaimTime
Date getClaimTime()The claim time of this task -
getClaimedBy
String getClaimedBy()The user reference that claimed this task -
getSuspendedTime
Date getSuspendedTime()The suspended time of this task -
getSuspendedBy
String getSuspendedBy()The user reference that suspended this task -
getTaskDefinitionKey
String getTaskDefinitionKey()The id of the activity in the process defining this task or null if this is not related to a process -
getInProgressStartDueDate
Date getInProgressStartDueDate()In progress start due date of the task. -
getDueDate
Date getDueDate()Due date of the task. -
getCategory
String getCategory()The category of the task. This is an optional field and allows to 'tag' tasks as belonging to a certain category. -
getParentTaskId
String getParentTaskId()The parent task for which this task is a subtask -
getTenantId
String getTenantId()The tenant identifier of this task -
getFormKey
String getFormKey()The form key for the user task -
getTaskLocalVariables
Returns the local task variables if requested in the task query -
getProcessVariables
Returns the process variables if requested in the task query -
getCaseVariables
Returns the case variables if requested in the task query -
getIdentityLinks
List<? extends org.flowable.identitylink.api.IdentityLinkInfo> getIdentityLinks()Returns the identity links.
-