Class TaskEvent


  • public class TaskEvent
    extends Object
    • Field Detail

      • assignee

        protected String assignee
      • caseDefinitionId

        protected String caseDefinitionId
      • caseExecutionId

        protected String caseExecutionId
      • caseInstanceId

        protected String caseInstanceId
      • createTime

        protected Date createTime
      • deleteReason

        protected String deleteReason
      • description

        protected String description
      • dueDate

        protected Date dueDate
      • eventName

        protected String eventName
      • executionId

        protected String executionId
      • followUpDate

        protected Date followUpDate
      • owner

        protected String owner
      • priority

        protected int priority
      • processDefinitionId

        protected String processDefinitionId
      • processInstanceId

        protected String processInstanceId
      • taskDefinitionKey

        protected String taskDefinitionKey
      • tenantId

        protected String tenantId
    • Constructor Detail

      • TaskEvent

        public TaskEvent​(DelegateTask delegateTask)
    • Method Detail

      • getAssignee

        public String getAssignee()
        The {@link User.getId() userId} of the person to which this task is delegated.
      • getCaseDefinitionId

        public String getCaseDefinitionId()
        Reference to the case definition or null if it is not related to a case.
      • getCaseExecutionId

        public String getCaseExecutionId()
        Reference to the case execution or null if it is not related to a case instance.
      • getCaseInstanceId

        public String getCaseInstanceId()
        Reference to the case instance or null if it is not related to a case instance.
      • getCreateTime

        public Date getCreateTime()
        The date/time when this task was created
      • getDeleteReason

        public String getDeleteReason()
        Get delete reason of the task.
      • getDescription

        public String getDescription()
        Free text description of the task.
      • getDueDate

        public Date getDueDate()
        Due date of the task.
      • getEventName

        public String getEventName()
        Returns the event name which triggered the task listener to fire for this task.
      • getExecutionId

        public String getExecutionId()
        Reference to the path of execution or null if it is not related to a process instance.
      • getFollowUpDate

        public Date getFollowUpDate()
        Follow-up date of the task.
      • getId

        public String getId()
        DB id of the task.
      • getName

        public String getName()
        Name or title of the task.
      • getOwner

        public String getOwner()
        The {@link User.getId() userId} of the person responsible for this task.
      • getPriority

        public int getPriority()
        indication of how important/urgent this task is with a number between 0 and 100 where higher values mean a higher priority and lower values mean lower priority: [0..19] lowest, [20..39] low, [40..59] normal, [60..79] high [80..100] highest
      • getProcessDefinitionId

        public String getProcessDefinitionId()
        Reference to the process definition or null if it is not related to a process.
      • getProcessInstanceId

        public String getProcessInstanceId()
        Reference to the process instance or null if it is not related to a process instance.
      • getTaskDefinitionKey

        public String getTaskDefinitionKey()
        The id of the activity in the process defining this task or null if this is not related to a process
      • getTenantId

        public String getTenantId()
        Return the id of the tenant this task belongs to. Can be null if the task belongs to no single tenant.