Method Summary
All Methods Instance Methods Abstract Methods
Define business key value to filter external tasks by (Process Instance) Business Key.
Enable deserialization of variable values that are custom objects.
Configure the query to include custom extension properties, if available, for all fetched tasks.
Define whether only local variables will be fetched with all tasks for the current topic.
Define process definition id to filter external tasks by.
Define process definition ids to filter external tasksb by.
Define process definition key to filter external tasks by.
Define process definition keys to filter external tasks by.
Define a process definition version tag to filter external tasks by.
Define a single variable and its name to filter tasks in a topic.
Define a HashMap of variables and their values to filter correlated tasks.
Define tenant ids to filter external tasks by.
Define variables to fetch with all tasks for the current topic.
Define variables to fetch with all tasks for the current topic.
Filter external tasks only with null tenant id.
Method Details
variables
Define variables to fetch with all tasks for the current topic. Calling
this method multiple times overrides the previously specified variables.
Parameters:
variables
- the variable names to fetch, if null all variables will be fetched
Returns:
this builder
variables
Define variables to fetch with all tasks for the current topic. Calling
this method multiple times overrides the previously specified variables.
Parameters:
variables
- the variable names to fetch, if null all variables will be fetched
Returns:
this builder
processInstanceVariableEquals
Define a HashMap of variables and their values to filter correlated tasks.
Calling this method multiple times overrides the previously specified variables.
Parameters:
variables
- a HashMap of the variable names (keys) and the values to filter by
Returns:
this builder
processInstanceVariableEquals
Define a single variable and its name to filter tasks in a topic. Multiple calls to
this method add to the existing "variable filters".
Parameters:
name
- the name of the variable you want to fetch and query by
value
- the value of the variable which you want to filter
Returns:
this builder
businessKey
Define business key value to filter external tasks by (Process Instance) Business Key.
Parameters:
businessKey
- the value of the Business Key to filter by
Returns:
this builder
processDefinitionId
Define process definition id to filter external tasks by.
Parameters:
processDefinitionId
- the definition id to filter by
Returns:
this builder
processDefinitionIdIn
Define process definition ids to filter external tasksb by.
Parameters:
processDefinitionIds
- the definition ids to filter by
Returns:
this builder
processDefinitionKey
Define process definition key to filter external tasks by.
Parameters:
processDefinitionKey
- the definition key to filter by
Returns:
this builder
processDefinitionKeyIn
Define process definition keys to filter external tasks by.
Parameters:
processDefinitionKey
- the definition keys to filter by
Returns:
this builder
processDefinitionVersionTag
Define a process definition version tag to filter external tasks by.
Parameters:
versionTag
- the version tag to filter by
Returns:
this builder
withoutTenantId
Filter external tasks only with null tenant id.
Returns:
this builder
tenantIdIn
Define tenant ids to filter external tasks by.
Parameters:
tenantIds
- the tenant ids to filter by
Returns:
this builder
enableCustomObjectDeserialization
Enable deserialization of variable values that are custom objects. By default, the query
will not attempt to deserialize the value of these variables.
Returns:
this builder
localVariables
Define whether only local variables will be fetched with all tasks for the current topic.
Returns:
this builder
includeExtensionProperties
Configure the query to include custom extension properties, if available, for all fetched tasks.
Returns:
this builder