Interface UserTaskFilter

All Superinterfaces:
TypedFilterableRequest.SearchRequestFilter
All Known Implementing Classes:
UserTaskFilterImpl

public interface UserTaskFilter extends TypedFilterableRequest.SearchRequestFilter
Interface for defining user task filters in search queries.
  • Method Details

    • userTaskKey

      UserTaskFilter userTaskKey(Long value)
      Filters user tasks by the specified key.
      Parameters:
      value - the key of the user task
      Returns:
      the updated filter
    • state

      Filters user tasks by the specified state.
      Parameters:
      state - the state of the user task
      Returns:
      the updated filter
    • state

      Filters user tasks by the specified state using UserTaskStateProperty consumer.
      Parameters:
      fn - the UserTaskStateProperty consumer of the user task
      Returns:
      the updated filter
    • assignee

      UserTaskFilter assignee(String assignee)
      Filters user tasks by the specified assignee.
      Parameters:
      assignee - the assignee of the user task
      Returns:
      the updated filter
    • assignee

      Filters user tasks by the specified assignee using StringProperty consumer.
      Parameters:
      fn - the assignee StringProperty consumer of the user task
      Returns:
      the updated filter
    • priority

      UserTaskFilter priority(Integer priority)
      Filters user tasks by the specified priority.
      Parameters:
      priority - the priority of the user task
      Returns:
      the updated filter
    • priority

      Filters user tasks by the specified priority using IntegerProperty consumer.
      Parameters:
      fn - the priority IntegerProperty consumer of the user task
      Returns:
      the updated filter
    • elementId

      UserTaskFilter elementId(String taskDefinitionId)
      Filters user tasks by the specified task definition ID.
      Parameters:
      taskDefinitionId - the task definition ID of the user task
      Returns:
      the updated filter
    • name

      UserTaskFilter name(String name)
      Filters user tasks by their name. This only works for data created with 8.8 and onwards. Instances from prior versions don't contain this data.
      Parameters:
      name - the element name of the user task
      Returns:
      the updated filter
    • candidateGroup

      UserTaskFilter candidateGroup(String candidateGroup)
      Filters user tasks by the specified candidate group.
      Parameters:
      candidateGroup - the candidate group of the user task
      Returns:
      the updated filter
    • candidateGroup

      UserTaskFilter candidateGroup(Consumer<StringProperty> fn)
      Filters user tasks by the specified candidate group using StringProperty consumer.
      Parameters:
      fn - the candidate group StringProperty consumer of the user task
      Returns:
      the updated filter
    • candidateUser

      UserTaskFilter candidateUser(String candidateUser)
      Filters user tasks by the specified candidate user.
      Parameters:
      candidateUser - the candidate user of the user task
      Returns:
      the updated filter
    • candidateUser

      Filters user tasks by the specified candidate user using StringProperty consumer.
      Parameters:
      fn - the candidate user StringProperty consumer of the user task
      Returns:
      the updated filter
    • processDefinitionKey

      UserTaskFilter processDefinitionKey(Long processDefinitionKey)
      Filters user tasks by the specified process definition key.
      Parameters:
      processDefinitionKey - the process definition key of the user task
      Returns:
      the updated filter
    • processInstanceKey

      UserTaskFilter processInstanceKey(Long processInstanceKey)
      Filters user tasks by the specified process instance key.
      Parameters:
      processInstanceKey - the process instance key of the user task
      Returns:
      the updated filter
    • tenantId

      UserTaskFilter tenantId(String tenantId)
      Filters user tasks by the specified tenant ID.
      Parameters:
      tenantId - representing the tenant associated with this task
      Returns:
      the updated filter
    • tenantId

      Filters user tasks by the specified tenantId using StringProperty consumer.
      Parameters:
      fn - the StringProperty consumer of the user task
      Returns:
      the updated filter
    • bpmnProcessId

      UserTaskFilter bpmnProcessId(String bpmnProcessId)
      Filters user tasks by the specified Process Definition Id.
      Parameters:
      bpmnProcessId - from the task
      Returns:
      the updated filter
    • processInstanceVariables

      UserTaskFilter processInstanceVariables(List<Consumer<VariableValueFilter>> variableValueFilters)
      Filters user tasks by specified Process Instance Variables.
      Parameters:
      variableValueFilters - from the task
      Returns:
      the updated filter
    • processInstanceVariables

      UserTaskFilter processInstanceVariables(Map<String,Object> variableValueFilters)
      Filters user tasks by specified Map of Process Instance Variables.
      Parameters:
      variableValueFilters - from the task
      Returns:
      the updated filter
    • localVariables

      UserTaskFilter localVariables(List<Consumer<VariableValueFilter>> variableValueFilters)
      Filters user tasks by specified Local Variables.
      Parameters:
      variableValueFilters - from the task
      Returns:
      the updated filter
    • localVariables

      UserTaskFilter localVariables(Map<String,Object> variableValueFilters)
      Filters user tasks by specified Map of Local Variables.
      Parameters:
      variableValueFilters - from the task
      Returns:
      the updated filter
    • elementInstanceKey

      UserTaskFilter elementInstanceKey(Long elementInstanceKey)
      Filters user tasks by the specified element instance key.
      Parameters:
      elementInstanceKey - the element instance key of the user task
      Returns:
      the updated filter
    • creationDate

      UserTaskFilter creationDate(OffsetDateTime creationDate)
      Filters user tasks by the specified creation date.
      Parameters:
      creationDate - the creation date of the user task
      Returns:
      the updated filter
    • creationDate

      UserTaskFilter creationDate(Consumer<DateTimeProperty> creationDate)
      Filters user tasks by the specified DateTimeProperty creation date.
      Parameters:
      creationDate - the creation date of the user task
      Returns:
      the updated filter
    • completionDate

      UserTaskFilter completionDate(OffsetDateTime completionDate)
      Filters user tasks by the specified completion date.
      Parameters:
      completionDate - the completion date of the user task
      Returns:
      the updated filter
    • completionDate

      UserTaskFilter completionDate(Consumer<DateTimeProperty> completionDate)
      Filters user tasks by the specified DateTimeProperty completion date.
      Parameters:
      completionDate - the completion date of the user task
      Returns:
      the updated filter
    • followUpDate

      UserTaskFilter followUpDate(OffsetDateTime followUpDate)
      Filters user tasks by the specified follow-up date.
      Parameters:
      followUpDate - the follow-up date of the user task
      Returns:
      the updated filter
    • followUpDate

      UserTaskFilter followUpDate(Consumer<DateTimeProperty> followUpDate)
      Filters user tasks by the specified DateTimeProperty follow-up date.
      Parameters:
      followUpDate - the follow-up date of the user task
      Returns:
      the updated filter
    • dueDate

      UserTaskFilter dueDate(OffsetDateTime dueDate)
      Filters user tasks by the specified due date.
      Parameters:
      dueDate - the due date of the user task
      Returns:
      the updated filter
    • dueDate

      Filters user tasks by the specified DateTimeProperty due date.
      Parameters:
      dueDate - the due date of the user task
      Returns:
      the updated filter