Package org.flowable.task.api
Interface TaskInfo
-
- All Known Subinterfaces:
HistoricTaskInstance
,Task
public interface TaskInfo
- Author:
- Joram Barrez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAssignee()
The user id of the person to which this task is delegated.Map<String,Object>
getCaseVariables()
Returns the case variables if requested in the task queryString
getCategory()
The category of the task.Date
getClaimTime()
The claim time of this taskDate
getCreateTime()
The date/time when this task was createdString
getDescription()
Free text description of the task.Date
getDueDate()
Due date of the task.String
getExecutionId()
Reference to the path of execution or null if it is not related to a process instance.String
getFormKey()
The form key for the user taskString
getId()
DB id of the task.List<? extends org.flowable.identitylink.api.IdentityLinkInfo>
getIdentityLinks()
Returns the identity links.String
getName()
Name or title of the task.String
getOwner()
The user id of the person that is responsible for this task.String
getParentTaskId()
The parent task for which this task is a subtaskint
getPriority()
Indication of how important/urgent this task isString
getProcessDefinitionId()
Reference to the process definition or null if it is not related to a process.String
getProcessInstanceId()
Reference to the process instance or null if it is not related to a process instance.Map<String,Object>
getProcessVariables()
Returns the process variables if requested in the task queryString
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).String
getScopeDefinitionId()
Reference to a scope definition identifier or null if none is set (e.g.String
getScopeId()
Reference to a scope identifier or null if none is set (e.g.String
getScopeType()
Reference to a scope type or null if none is set (e.g.String
getSubScopeId()
Reference to a sub scope identifier or null if none is set (e.g.String
getTaskDefinitionId()
Reference to the task definition or null if it is not related to any task definition.String
getTaskDefinitionKey()
The id of the activity in the process defining this task or null if this is not related to a processMap<String,Object>
getTaskLocalVariables()
Returns the local task variables if requested in the task queryString
getTenantId()
The tenant identifier of this task
-
-
-
Method Detail
-
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
-
getCreateTime
Date getCreateTime()
The date/time when this task was created
-
getTaskDefinitionKey
String getTaskDefinitionKey()
The id of the activity in the process defining this task or null if this is not related to a process
-
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
Map<String,Object> getTaskLocalVariables()
Returns the local task variables if requested in the task query
-
getProcessVariables
Map<String,Object> getProcessVariables()
Returns the process variables if requested in the task query
-
getCaseVariables
Map<String,Object> getCaseVariables()
Returns the case variables if requested in the task query
-
getIdentityLinks
List<? extends org.flowable.identitylink.api.IdentityLinkInfo> getIdentityLinks()
Returns the identity links.
-
getClaimTime
Date getClaimTime()
The claim time of this task
-
-