Package org.openapitools.client.model
Class HistoricProcessInstanceQueryDto
- java.lang.Object
-
- org.openapitools.client.model.HistoricProcessInstanceQueryDto
-
public class HistoricProcessInstanceQueryDto extends Object
A historic process instance query which defines a group of historic process instances
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHistoricProcessInstanceQueryDto.IncidentStatusEnumOnly include process instances which have an incident in status either open or resolved.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description HistoricProcessInstanceQueryDto()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_PROCESS_INSTANCE_ID
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE_IDS
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_IDS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DEFINITION_ID
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DEFINITION_KEY
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DEFINITION_KEY_IN
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_KEY_IN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DEFINITION_NAME
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DEFINITION_NAME_LIKE
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_NAME_LIKE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DEFINITION_KEY_NOT_IN
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_KEY_NOT_IN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE_BUSINESS_KEY
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_BUSINESS_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE_BUSINESS_KEY_IN
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_BUSINESS_KEY_IN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE_BUSINESS_KEY_LIKE
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_BUSINESS_KEY_LIKE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ROOT_PROCESS_INSTANCES
public static final String SERIALIZED_NAME_ROOT_PROCESS_INSTANCES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FINISHED
public static final String SERIALIZED_NAME_FINISHED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UNFINISHED
public static final String SERIALIZED_NAME_UNFINISHED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WITH_INCIDENTS
public static final String SERIALIZED_NAME_WITH_INCIDENTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WITH_ROOT_INCIDENTS
public static final String SERIALIZED_NAME_WITH_ROOT_INCIDENTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INCIDENT_TYPE
public static final String SERIALIZED_NAME_INCIDENT_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INCIDENT_STATUS
public static final String SERIALIZED_NAME_INCIDENT_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INCIDENT_MESSAGE
public static final String SERIALIZED_NAME_INCIDENT_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INCIDENT_MESSAGE_LIKE
public static final String SERIALIZED_NAME_INCIDENT_MESSAGE_LIKE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STARTED_BEFORE
public static final String SERIALIZED_NAME_STARTED_BEFORE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STARTED_AFTER
public static final String SERIALIZED_NAME_STARTED_AFTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FINISHED_BEFORE
public static final String SERIALIZED_NAME_FINISHED_BEFORE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FINISHED_AFTER
public static final String SERIALIZED_NAME_FINISHED_AFTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXECUTED_ACTIVITY_AFTER
public static final String SERIALIZED_NAME_EXECUTED_ACTIVITY_AFTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXECUTED_ACTIVITY_BEFORE
public static final String SERIALIZED_NAME_EXECUTED_ACTIVITY_BEFORE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXECUTED_JOB_AFTER
public static final String SERIALIZED_NAME_EXECUTED_JOB_AFTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXECUTED_JOB_BEFORE
public static final String SERIALIZED_NAME_EXECUTED_JOB_BEFORE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STARTED_BY
public static final String SERIALIZED_NAME_STARTED_BY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUPER_PROCESS_INSTANCE_ID
public static final String SERIALIZED_NAME_SUPER_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUB_PROCESS_INSTANCE_ID
public static final String SERIALIZED_NAME_SUB_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUPER_CASE_INSTANCE_ID
public static final String SERIALIZED_NAME_SUPER_CASE_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUB_CASE_INSTANCE_ID
public static final String SERIALIZED_NAME_SUB_CASE_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CASE_INSTANCE_ID
public static final String SERIALIZED_NAME_CASE_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TENANT_ID_IN
public static final String SERIALIZED_NAME_TENANT_ID_IN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WITHOUT_TENANT_ID
public static final String SERIALIZED_NAME_WITHOUT_TENANT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXECUTED_ACTIVITY_ID_IN
public static final String SERIALIZED_NAME_EXECUTED_ACTIVITY_ID_IN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACTIVE_ACTIVITY_ID_IN
public static final String SERIALIZED_NAME_ACTIVE_ACTIVITY_ID_IN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACTIVE
public static final String SERIALIZED_NAME_ACTIVE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUSPENDED
public static final String SERIALIZED_NAME_SUSPENDED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMPLETED
public static final String SERIALIZED_NAME_COMPLETED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXTERNALLY_TERMINATED
public static final String SERIALIZED_NAME_EXTERNALLY_TERMINATED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INTERNALLY_TERMINATED
public static final String SERIALIZED_NAME_INTERNALLY_TERMINATED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VARIABLES
public static final String SERIALIZED_NAME_VARIABLES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VARIABLE_NAMES_IGNORE_CASE
public static final String SERIALIZED_NAME_VARIABLE_NAMES_IGNORE_CASE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VARIABLE_VALUES_IGNORE_CASE
public static final String SERIALIZED_NAME_VARIABLE_VALUES_IGNORE_CASE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OR_QUERIES
public static final String SERIALIZED_NAME_OR_QUERIES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SORTING
public static final String SERIALIZED_NAME_SORTING
- See Also:
- Constant Field Values
-
-
Method Detail
-
processInstanceId
public HistoricProcessInstanceQueryDto processInstanceId(String processInstanceId)
-
getProcessInstanceId
public String getProcessInstanceId()
Filter by process instance id.- Returns:
- processInstanceId
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
-
processInstanceIds
public HistoricProcessInstanceQueryDto processInstanceIds(List<String> processInstanceIds)
-
addProcessInstanceIdsItem
public HistoricProcessInstanceQueryDto addProcessInstanceIdsItem(String processInstanceIdsItem)
-
getProcessInstanceIds
public List<String> getProcessInstanceIds()
Filter by process instance ids. Must be a JSON array of `Strings`.- Returns:
- processInstanceIds
-
processDefinitionId
public HistoricProcessInstanceQueryDto processDefinitionId(String processDefinitionId)
-
getProcessDefinitionId
public String getProcessDefinitionId()
Filter by the process definition the instances run on.- Returns:
- processDefinitionId
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
-
processDefinitionKey
public HistoricProcessInstanceQueryDto processDefinitionKey(String processDefinitionKey)
-
getProcessDefinitionKey
public String getProcessDefinitionKey()
Filter by the key of the process definition the instances run on.- Returns:
- processDefinitionKey
-
setProcessDefinitionKey
public void setProcessDefinitionKey(String processDefinitionKey)
-
processDefinitionKeyIn
public HistoricProcessInstanceQueryDto processDefinitionKeyIn(List<String> processDefinitionKeyIn)
-
addProcessDefinitionKeyInItem
public HistoricProcessInstanceQueryDto addProcessDefinitionKeyInItem(String processDefinitionKeyInItem)
-
getProcessDefinitionKeyIn
public List<String> getProcessDefinitionKeyIn()
Filter by a list of process definition keys. A process instance must have one of the given process definition keys. Must be a JSON array of `Strings`.- Returns:
- processDefinitionKeyIn
-
setProcessDefinitionKeyIn
public void setProcessDefinitionKeyIn(List<String> processDefinitionKeyIn)
-
processDefinitionName
public HistoricProcessInstanceQueryDto processDefinitionName(String processDefinitionName)
-
getProcessDefinitionName
public String getProcessDefinitionName()
Filter by the name of the process definition the instances run on.- Returns:
- processDefinitionName
-
setProcessDefinitionName
public void setProcessDefinitionName(String processDefinitionName)
-
processDefinitionNameLike
public HistoricProcessInstanceQueryDto processDefinitionNameLike(String processDefinitionNameLike)
-
getProcessDefinitionNameLike
public String getProcessDefinitionNameLike()
Filter by process definition names that the parameter is a substring of.- Returns:
- processDefinitionNameLike
-
setProcessDefinitionNameLike
public void setProcessDefinitionNameLike(String processDefinitionNameLike)
-
processDefinitionKeyNotIn
public HistoricProcessInstanceQueryDto processDefinitionKeyNotIn(List<String> processDefinitionKeyNotIn)
-
addProcessDefinitionKeyNotInItem
public HistoricProcessInstanceQueryDto addProcessDefinitionKeyNotInItem(String processDefinitionKeyNotInItem)
-
getProcessDefinitionKeyNotIn
public List<String> getProcessDefinitionKeyNotIn()
Exclude instances that belong to a set of process definitions. Must be a JSON array of `Strings`.- Returns:
- processDefinitionKeyNotIn
-
setProcessDefinitionKeyNotIn
public void setProcessDefinitionKeyNotIn(List<String> processDefinitionKeyNotIn)
-
processInstanceBusinessKey
public HistoricProcessInstanceQueryDto processInstanceBusinessKey(String processInstanceBusinessKey)
-
getProcessInstanceBusinessKey
public String getProcessInstanceBusinessKey()
Filter by process instance business key.- Returns:
- processInstanceBusinessKey
-
setProcessInstanceBusinessKey
public void setProcessInstanceBusinessKey(String processInstanceBusinessKey)
-
processInstanceBusinessKeyIn
public HistoricProcessInstanceQueryDto processInstanceBusinessKeyIn(List<String> processInstanceBusinessKeyIn)
-
addProcessInstanceBusinessKeyInItem
public HistoricProcessInstanceQueryDto addProcessInstanceBusinessKeyInItem(String processInstanceBusinessKeyInItem)
-
getProcessInstanceBusinessKeyIn
public List<String> getProcessInstanceBusinessKeyIn()
Filter by a list of business keys. A process instance must have one of the given business keys. Must be a JSON array of `Strings`- Returns:
- processInstanceBusinessKeyIn
-
setProcessInstanceBusinessKeyIn
public void setProcessInstanceBusinessKeyIn(List<String> processInstanceBusinessKeyIn)
-
processInstanceBusinessKeyLike
public HistoricProcessInstanceQueryDto processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike)
-
getProcessInstanceBusinessKeyLike
public String getProcessInstanceBusinessKeyLike()
Filter by process instance business key that the parameter is a substring of.- Returns:
- processInstanceBusinessKeyLike
-
setProcessInstanceBusinessKeyLike
public void setProcessInstanceBusinessKeyLike(String processInstanceBusinessKeyLike)
-
rootProcessInstances
public HistoricProcessInstanceQueryDto rootProcessInstances(Boolean rootProcessInstances)
-
getRootProcessInstances
public Boolean getRootProcessInstances()
Restrict the query to all process instances that are top level process instances.- Returns:
- rootProcessInstances
-
setRootProcessInstances
public void setRootProcessInstances(Boolean rootProcessInstances)
-
finished
public HistoricProcessInstanceQueryDto finished(Boolean finished)
-
getFinished
public Boolean getFinished()
Only include finished process instances. This flag includes all process instances that are completed or terminated. Value may only be `true`, as `false` is the default behavior.- Returns:
- finished
-
setFinished
public void setFinished(Boolean finished)
-
unfinished
public HistoricProcessInstanceQueryDto unfinished(Boolean unfinished)
-
getUnfinished
public Boolean getUnfinished()
Only include unfinished process instances. Value may only be `true`, as `false` is the default behavior.- Returns:
- unfinished
-
setUnfinished
public void setUnfinished(Boolean unfinished)
-
withIncidents
public HistoricProcessInstanceQueryDto withIncidents(Boolean withIncidents)
-
getWithIncidents
public Boolean getWithIncidents()
Only include process instances which have an incident. Value may only be `true`, as `false` is the default behavior.- Returns:
- withIncidents
-
setWithIncidents
public void setWithIncidents(Boolean withIncidents)
-
withRootIncidents
public HistoricProcessInstanceQueryDto withRootIncidents(Boolean withRootIncidents)
-
getWithRootIncidents
public Boolean getWithRootIncidents()
Only include process instances which have a root incident. Value may only be `true`, as `false` is the default behavior.- Returns:
- withRootIncidents
-
setWithRootIncidents
public void setWithRootIncidents(Boolean withRootIncidents)
-
incidentType
public HistoricProcessInstanceQueryDto incidentType(String incidentType)
-
getIncidentType
public String getIncidentType()
Filter by the incident type. See the [User Guide](https://docs.camunda.org/manual/7.18/user-guide/process-engine/incidents/#incident-types) for a list of incident types.- Returns:
- incidentType
-
setIncidentType
public void setIncidentType(String incidentType)
-
incidentStatus
public HistoricProcessInstanceQueryDto incidentStatus(HistoricProcessInstanceQueryDto.IncidentStatusEnum incidentStatus)
-
getIncidentStatus
public HistoricProcessInstanceQueryDto.IncidentStatusEnum getIncidentStatus()
Only include process instances which have an incident in status either open or resolved. To get all process instances, use the query parameter withIncidents.- Returns:
- incidentStatus
-
setIncidentStatus
public void setIncidentStatus(HistoricProcessInstanceQueryDto.IncidentStatusEnum incidentStatus)
-
incidentMessage
public HistoricProcessInstanceQueryDto incidentMessage(String incidentMessage)
-
getIncidentMessage
public String getIncidentMessage()
Filter by the incident message. Exact match.- Returns:
- incidentMessage
-
setIncidentMessage
public void setIncidentMessage(String incidentMessage)
-
incidentMessageLike
public HistoricProcessInstanceQueryDto incidentMessageLike(String incidentMessageLike)
-
getIncidentMessageLike
public String getIncidentMessageLike()
Filter by the incident message that the parameter is a substring of.- Returns:
- incidentMessageLike
-
setIncidentMessageLike
public void setIncidentMessageLike(String incidentMessageLike)
-
startedBefore
public HistoricProcessInstanceQueryDto startedBefore(Date startedBefore)
-
getStartedBefore
public Date getStartedBefore()
Restrict to instances that were started before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`.- Returns:
- startedBefore
-
setStartedBefore
public void setStartedBefore(Date startedBefore)
-
startedAfter
public HistoricProcessInstanceQueryDto startedAfter(Date startedAfter)
-
getStartedAfter
public Date getStartedAfter()
Restrict to instances that were started after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`.- Returns:
- startedAfter
-
setStartedAfter
public void setStartedAfter(Date startedAfter)
-
finishedBefore
public HistoricProcessInstanceQueryDto finishedBefore(Date finishedBefore)
-
getFinishedBefore
public Date getFinishedBefore()
Restrict to instances that were finished before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`.- Returns:
- finishedBefore
-
setFinishedBefore
public void setFinishedBefore(Date finishedBefore)
-
finishedAfter
public HistoricProcessInstanceQueryDto finishedAfter(Date finishedAfter)
-
getFinishedAfter
public Date getFinishedAfter()
Restrict to instances that were finished after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`.- Returns:
- finishedAfter
-
setFinishedAfter
public void setFinishedAfter(Date finishedAfter)
-
executedActivityAfter
public HistoricProcessInstanceQueryDto executedActivityAfter(Date executedActivityAfter)
-
getExecutedActivityAfter
public Date getExecutedActivityAfter()
Restrict to instances that executed an activity after the given date (inclusive). By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`.- Returns:
- executedActivityAfter
-
setExecutedActivityAfter
public void setExecutedActivityAfter(Date executedActivityAfter)
-
executedActivityBefore
public HistoricProcessInstanceQueryDto executedActivityBefore(Date executedActivityBefore)
-
getExecutedActivityBefore
public Date getExecutedActivityBefore()
Restrict to instances that executed an activity before the given date (inclusive). By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`.- Returns:
- executedActivityBefore
-
setExecutedActivityBefore
public void setExecutedActivityBefore(Date executedActivityBefore)
-
executedJobAfter
public HistoricProcessInstanceQueryDto executedJobAfter(Date executedJobAfter)
-
getExecutedJobAfter
public Date getExecutedJobAfter()
Restrict to instances that executed an job after the given date (inclusive). By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`.- Returns:
- executedJobAfter
-
setExecutedJobAfter
public void setExecutedJobAfter(Date executedJobAfter)
-
executedJobBefore
public HistoricProcessInstanceQueryDto executedJobBefore(Date executedJobBefore)
-
getExecutedJobBefore
public Date getExecutedJobBefore()
Restrict to instances that executed an job before the given date (inclusive). By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`.- Returns:
- executedJobBefore
-
setExecutedJobBefore
public void setExecutedJobBefore(Date executedJobBefore)
-
startedBy
public HistoricProcessInstanceQueryDto startedBy(String startedBy)
-
getStartedBy
public String getStartedBy()
Only include process instances that were started by the given user.- Returns:
- startedBy
-
setStartedBy
public void setStartedBy(String startedBy)
-
superProcessInstanceId
public HistoricProcessInstanceQueryDto superProcessInstanceId(String superProcessInstanceId)
-
getSuperProcessInstanceId
public String getSuperProcessInstanceId()
Restrict query to all process instances that are sub process instances of the given process instance. Takes a process instance id.- Returns:
- superProcessInstanceId
-
setSuperProcessInstanceId
public void setSuperProcessInstanceId(String superProcessInstanceId)
-
subProcessInstanceId
public HistoricProcessInstanceQueryDto subProcessInstanceId(String subProcessInstanceId)
-
getSubProcessInstanceId
public String getSubProcessInstanceId()
Restrict query to one process instance that has a sub process instance with the given id.- Returns:
- subProcessInstanceId
-
setSubProcessInstanceId
public void setSubProcessInstanceId(String subProcessInstanceId)
-
superCaseInstanceId
public HistoricProcessInstanceQueryDto superCaseInstanceId(String superCaseInstanceId)
-
getSuperCaseInstanceId
public String getSuperCaseInstanceId()
Restrict query to all process instances that are sub process instances of the given case instance. Takes a case instance id.- Returns:
- superCaseInstanceId
-
setSuperCaseInstanceId
public void setSuperCaseInstanceId(String superCaseInstanceId)
-
subCaseInstanceId
public HistoricProcessInstanceQueryDto subCaseInstanceId(String subCaseInstanceId)
-
getSubCaseInstanceId
public String getSubCaseInstanceId()
Restrict query to one process instance that has a sub case instance with the given id.- Returns:
- subCaseInstanceId
-
setSubCaseInstanceId
public void setSubCaseInstanceId(String subCaseInstanceId)
-
caseInstanceId
public HistoricProcessInstanceQueryDto caseInstanceId(String caseInstanceId)
-
getCaseInstanceId
public String getCaseInstanceId()
Restrict query to all process instances that are sub process instances of the given case instance. Takes a case instance id.- Returns:
- caseInstanceId
-
setCaseInstanceId
public void setCaseInstanceId(String caseInstanceId)
-
tenantIdIn
public HistoricProcessInstanceQueryDto tenantIdIn(List<String> tenantIdIn)
-
addTenantIdInItem
public HistoricProcessInstanceQueryDto addTenantIdInItem(String tenantIdInItem)
-
getTenantIdIn
public List<String> getTenantIdIn()
Filter by a list of tenant ids. A process instance must have one of the given tenant ids. Must be a JSON array of `Strings`- Returns:
- tenantIdIn
-
withoutTenantId
public HistoricProcessInstanceQueryDto withoutTenantId(Boolean withoutTenantId)
-
getWithoutTenantId
public Boolean getWithoutTenantId()
Only include historic process instances which belong to no tenant. Value may only be `true`, as `false` is the default behavior.- Returns:
- withoutTenantId
-
setWithoutTenantId
public void setWithoutTenantId(Boolean withoutTenantId)
-
executedActivityIdIn
public HistoricProcessInstanceQueryDto executedActivityIdIn(List<String> executedActivityIdIn)
-
addExecutedActivityIdInItem
public HistoricProcessInstanceQueryDto addExecutedActivityIdInItem(String executedActivityIdInItem)
-
getExecutedActivityIdIn
public List<String> getExecutedActivityIdIn()
Restrict to instances that executed an activity with one of given ids. Must be a JSON array of `Strings`- Returns:
- executedActivityIdIn
-
activeActivityIdIn
public HistoricProcessInstanceQueryDto activeActivityIdIn(List<String> activeActivityIdIn)
-
addActiveActivityIdInItem
public HistoricProcessInstanceQueryDto addActiveActivityIdInItem(String activeActivityIdInItem)
-
getActiveActivityIdIn
public List<String> getActiveActivityIdIn()
Restrict to instances that have an active activity with one of given ids. Must be a JSON array of `Strings`- Returns:
- activeActivityIdIn
-
active
public HistoricProcessInstanceQueryDto active(Boolean active)
-
getActive
public Boolean getActive()
Restrict to instances that are active.- Returns:
- active
-
setActive
public void setActive(Boolean active)
-
suspended
public HistoricProcessInstanceQueryDto suspended(Boolean suspended)
-
getSuspended
public Boolean getSuspended()
Restrict to instances that are suspended.- Returns:
- suspended
-
setSuspended
public void setSuspended(Boolean suspended)
-
completed
public HistoricProcessInstanceQueryDto completed(Boolean completed)
-
getCompleted
public Boolean getCompleted()
Restrict to instances that are completed.- Returns:
- completed
-
setCompleted
public void setCompleted(Boolean completed)
-
externallyTerminated
public HistoricProcessInstanceQueryDto externallyTerminated(Boolean externallyTerminated)
-
getExternallyTerminated
public Boolean getExternallyTerminated()
Restrict to instances that are externallyTerminated.- Returns:
- externallyTerminated
-
setExternallyTerminated
public void setExternallyTerminated(Boolean externallyTerminated)
-
internallyTerminated
public HistoricProcessInstanceQueryDto internallyTerminated(Boolean internallyTerminated)
-
getInternallyTerminated
public Boolean getInternallyTerminated()
Restrict to instances that are internallyTerminated.- Returns:
- internallyTerminated
-
setInternallyTerminated
public void setInternallyTerminated(Boolean internallyTerminated)
-
variables
public HistoricProcessInstanceQueryDto variables(List<VariableQueryParameterDto> variables)
-
addVariablesItem
public HistoricProcessInstanceQueryDto addVariablesItem(VariableQueryParameterDto variablesItem)
-
getVariables
public List<VariableQueryParameterDto> getVariables()
A JSON array to only include process instances that have/had variables with certain values. The array consists of objects with the three properties `name`, `operator` and `value`. `name` (`String`) is the variable name, `operator` (`String`) is the comparison operator to be used and `value` the variable value. Value may be `String`, `Number` or `Boolean`. Valid operator values are: `eq` - equal to; `neq` - not equal to; `gt` - greater than; `gteq` - greater than or equal to; `lt` - lower than; `lteq` - lower than or equal to; `like`.- Returns:
- variables
-
setVariables
public void setVariables(List<VariableQueryParameterDto> variables)
-
variableNamesIgnoreCase
public HistoricProcessInstanceQueryDto variableNamesIgnoreCase(Boolean variableNamesIgnoreCase)
-
getVariableNamesIgnoreCase
public Boolean getVariableNamesIgnoreCase()
Match all variable names provided in variables case-insensitively. If set to `true` variableName and variablename are treated as equal.- Returns:
- variableNamesIgnoreCase
-
setVariableNamesIgnoreCase
public void setVariableNamesIgnoreCase(Boolean variableNamesIgnoreCase)
-
variableValuesIgnoreCase
public HistoricProcessInstanceQueryDto variableValuesIgnoreCase(Boolean variableValuesIgnoreCase)
-
getVariableValuesIgnoreCase
public Boolean getVariableValuesIgnoreCase()
Match all variable values provided in variables case-insensitively. If set to `true` variableValue and variablevalue are treated as equal.- Returns:
- variableValuesIgnoreCase
-
setVariableValuesIgnoreCase
public void setVariableValuesIgnoreCase(Boolean variableValuesIgnoreCase)
-
orQueries
public HistoricProcessInstanceQueryDto orQueries(List<HistoricProcessInstanceQueryDto> orQueries)
-
addOrQueriesItem
public HistoricProcessInstanceQueryDto addOrQueriesItem(HistoricProcessInstanceQueryDto orQueriesItem)
-
getOrQueries
public List<HistoricProcessInstanceQueryDto> getOrQueries()
A JSON array of nested historic process instance queries with OR semantics. A process instance matches a nested query if it fulfills at least one of the query's predicates. With multiple nested queries, a process instance must fulfill at least one predicate of each query ([Conjunctive Normal Form](https://en.wikipedia.org/wiki/Conjunctive_normal_form)). All process instance query properties can be used except for: `sorting` See the [User Guide](https://docs.camunda.org/manual/7.18/user-guide/process-engine/process-engine-api/#or-queries) for more information about OR queries.- Returns:
- orQueries
-
setOrQueries
public void setOrQueries(List<HistoricProcessInstanceQueryDto> orQueries)
-
sorting
public HistoricProcessInstanceQueryDto sorting(List<HistoricProcessInstanceQueryDtoSorting> sorting)
-
addSortingItem
public HistoricProcessInstanceQueryDto addSortingItem(HistoricProcessInstanceQueryDtoSorting sortingItem)
-
getSorting
public List<HistoricProcessInstanceQueryDtoSorting> getSorting()
Apply sorting of the result- Returns:
- sorting
-
setSorting
public void setSorting(List<HistoricProcessInstanceQueryDtoSorting> sorting)
-
-