Interface UserTaskFilter
- All Superinterfaces:
TypedFilterableRequest.SearchRequestFilter
- All Known Implementing Classes:
UserTaskFilterImpl
Interface for defining user task filters in search queries.
-
Method Summary
Modifier and TypeMethodDescriptionFilters user tasks by the specified assignee.Filters user tasks by the specified assignee usingStringPropertyconsumer.bpmnProcessId(String bpmnProcessId) Filters user tasks by the specified Process Definition Id.candidateGroup(String candidateGroup) Filters user tasks by the specified candidate group.Filters user tasks by the specified candidate group usingStringPropertyconsumer.candidateUser(String candidateUser) Filters user tasks by the specified candidate user.Filters user tasks by the specified candidate user usingStringPropertyconsumer.completionDate(OffsetDateTime completionDate) Filters user tasks by the specified completion date.completionDate(Consumer<DateTimeProperty> completionDate) Filters user tasks by the specifiedDateTimePropertycompletion date.creationDate(OffsetDateTime creationDate) Filters user tasks by the specified creation date.creationDate(Consumer<DateTimeProperty> creationDate) Filters user tasks by the specifiedDateTimePropertycreation date.dueDate(OffsetDateTime dueDate) Filters user tasks by the specified due date.dueDate(Consumer<DateTimeProperty> dueDate) Filters user tasks by the specifiedDateTimePropertydue date.Filters user tasks by the specified task definition ID.elementInstanceKey(Long elementInstanceKey) Filters user tasks by the specified element instance key.followUpDate(OffsetDateTime followUpDate) Filters user tasks by the specified follow-up date.followUpDate(Consumer<DateTimeProperty> followUpDate) Filters user tasks by the specifiedDateTimePropertyfollow-up date.localVariables(List<Consumer<VariableValueFilter>> variableValueFilters) Filters user tasks by specified Local Variables.localVariables(Map<String, Object> variableValueFilters) Filters user tasks by specified Map of Local Variables.Filters user tasks by their name.Filters user tasks by the specified priority.Filters user tasks by the specified priority usingIntegerPropertyconsumer.processDefinitionKey(Long processDefinitionKey) Filters user tasks by the specified process definition key.processInstanceKey(Long processInstanceKey) Filters user tasks by the specified process instance key.processInstanceVariables(List<Consumer<VariableValueFilter>> variableValueFilters) Filters user tasks by specified Process Instance Variables.processInstanceVariables(Map<String, Object> variableValueFilters) Filters user tasks by specified Map of Process Instance Variables.state(UserTaskState state) Filters user tasks by the specified state.Filters user tasks by the specified state usingUserTaskStatePropertyconsumer.Filters user tasks by the specified tenant ID.Filters user tasks by the specified tenantId usingStringPropertyconsumer.userTaskKey(Long value) Filters user tasks by the specified key.
-
Method Details
-
userTaskKey
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 usingUserTaskStatePropertyconsumer.- Parameters:
fn- theUserTaskStatePropertyconsumer of the user task- Returns:
- the updated filter
-
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 usingStringPropertyconsumer.- Parameters:
fn- the assigneeStringPropertyconsumer of the user task- Returns:
- the updated filter
-
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 usingIntegerPropertyconsumer.- Parameters:
fn- the priorityIntegerPropertyconsumer of the user task- Returns:
- the updated filter
-
elementId
Filters user tasks by the specified task definition ID.- Parameters:
taskDefinitionId- the task definition ID of the user task- Returns:
- the updated filter
-
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
Filters user tasks by the specified candidate group.- Parameters:
candidateGroup- the candidate group of the user task- Returns:
- the updated filter
-
candidateGroup
Filters user tasks by the specified candidate group usingStringPropertyconsumer.- Parameters:
fn- the candidate groupStringPropertyconsumer of the user task- Returns:
- the updated filter
-
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 usingStringPropertyconsumer.- Parameters:
fn- the candidate userStringPropertyconsumer of the user task- Returns:
- the updated filter
-
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
Filters user tasks by the specified process instance key.- Parameters:
processInstanceKey- the process instance key of the user task- Returns:
- the updated filter
-
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 usingStringPropertyconsumer.- Parameters:
fn- theStringPropertyconsumer of the user task- Returns:
- the updated filter
-
bpmnProcessId
Filters user tasks by the specified Process Definition Id.- Parameters:
bpmnProcessId- from the task- Returns:
- the updated filter
-
processInstanceVariables
Filters user tasks by specified Process Instance Variables.- Parameters:
variableValueFilters- from the task- Returns:
- the updated filter
-
processInstanceVariables
Filters user tasks by specified Map of Process Instance Variables.- Parameters:
variableValueFilters- from the task- Returns:
- the updated filter
-
localVariables
Filters user tasks by specified Local Variables.- Parameters:
variableValueFilters- from the task- Returns:
- the updated filter
-
localVariables
Filters user tasks by specified Map of Local Variables.- Parameters:
variableValueFilters- from the task- Returns:
- the updated filter
-
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
Filters user tasks by the specified creation date.- Parameters:
creationDate- the creation date of the user task- Returns:
- the updated filter
-
creationDate
Filters user tasks by the specifiedDateTimePropertycreation date.- Parameters:
creationDate- the creation date of the user task- Returns:
- the updated filter
-
completionDate
Filters user tasks by the specified completion date.- Parameters:
completionDate- the completion date of the user task- Returns:
- the updated filter
-
completionDate
Filters user tasks by the specifiedDateTimePropertycompletion date.- Parameters:
completionDate- the completion date of the user task- Returns:
- the updated filter
-
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
Filters user tasks by the specifiedDateTimePropertyfollow-up date.- Parameters:
followUpDate- the follow-up date of the user task- Returns:
- the updated filter
-
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 specifiedDateTimePropertydue date.- Parameters:
dueDate- the due date of the user task- Returns:
- the updated filter
-