Interface UserTask

All Known Implementing Classes:
UserTaskImpl

public interface UserTask
  • Method Details

    • getUserTaskKey

      Long getUserTaskKey()
    • getName

      String getName()
      Name of the task
    • getState

      UserTaskState getState()
      State of the task
    • getAssignee

      String getAssignee()
      Assignee of the task
    • getElementId

      String getElementId()
      Element ID
    • getElementInstanceKey

      Long getElementInstanceKey()
      Instance key of the element
    • getCandidateGroups

      List<String> getCandidateGroups()
      Candidate groups for the task
    • getCandidateUsers

      List<String> getCandidateUsers()
      Candidate users for the task
    • getBpmnProcessId

      String getBpmnProcessId()
      BPMN process id of the process associated with this task
    • getProcessName

      String getProcessName()
      Name of the process definition
    • getProcessDefinitionKey

      Long getProcessDefinitionKey()
      Key of the process definition
    • getProcessInstanceKey

      Long getProcessInstanceKey()
      Key of the process instance
    • getRootProcessInstanceKey

      Long getRootProcessInstanceKey()
      Returns the key of the root process instance. The root process instance is the top-level ancestor in the process instance hierarchy.

      Note: This field is null for process instance hierarchies created before version 8.9.

      Returns:
      the root process instance key, or null for data created before version 8.9
    • getBusinessId

      String getBusinessId()
      Returns the business ID of the owning process instance, inherited when the user task was created.

      Note: This field is null for user tasks created before version 8.10, and when the owning process instance has no business ID.

      Returns:
      the business ID, or null when not set
    • getFormKey

      Long getFormKey()
      Key of the form
    • getCreationDate

      OffsetDateTime getCreationDate()
      Creation date of the task
    • getCompletionDate

      OffsetDateTime getCompletionDate()
      Completion date of the task
    • getFollowUpDate

      OffsetDateTime getFollowUpDate()
      Follow-up date of the task
    • getDueDate

      OffsetDateTime getDueDate()
      Due date of the task
    • getTenantId

      String getTenantId()
      Tenant identifiers
    • getExternalFormReference

      String getExternalFormReference()
      External form reference
    • getProcessDefinitionVersion

      Integer getProcessDefinitionVersion()
      Version of the process definition
    • getCustomHeaders

      Map<String,String> getCustomHeaders()
      Custom headers associated with the task
    • getPriority

      Integer getPriority()
      Priority of the task
    • getTags

      Set<String> getTags()
      Tags associated with the task