Get Tasks (Historic)
Queries for historic tasks that fulfill the given parameters. The size of the result set can be retrieved by using the Get Task Count method.
Request
- Base URL: http://localhost:8080/engine-rest
- URL: http://localhost:8080/engine-rest/history/task
- Auth: HTTP basic
Query parameters
Filter by task id.
Filter by parent task id.
Filter by process instance id.
Filter by root process instance id.
Filter by process instance business key.
Filter by process instances with one of the give business keys. The keys need to be in a comma-separated list.
Filter by process instance business key that has the parameter value as a substring.
Filter by the id of the execution that executed the task.
Filter by process definition id.
Restrict to tasks that belong to a process definition with the given key.
Restrict to tasks that belong to a process definition with the given name.
Filter by case instance id.
Filter by the id of the case execution that executed the task.
Filter by case definition id.
Restrict to tasks that belong to a case definition with the given key.
Restrict to tasks that belong to a case definition with the given name.
Only include tasks which belong to one of the passed comma-separated activity instance ids.
Restrict to tasks that have the given name.
Restrict to tasks that have a name with the given parameter value as substring.
Restrict to tasks that have the given description.
Restrict to tasks that have a description that has the parameter value as a substring.
Restrict to tasks that have the given key.
Restrict to tasks that have one of the passed comma-separated task definition keys.
Restrict to tasks that have the given delete reason.
Restrict to tasks that have a delete reason that has the parameter value as a substring.
Restrict to tasks that the given user is assigned to.
Restrict to tasks that are assigned to users with the parameter value as a substring.
Restrict to tasks that the given user owns.
Restrict to tasks that are owned by users with the parameter value as a substring.
Restrict to tasks that have the given priority.
If set to true, restricts the query to all tasks that are assigned.
If set to true, restricts the query to all tasks that are unassigned.
Only include finished tasks. Value may only be true, as false is the default behavior.
Only include unfinished tasks. Value may only be true, as false is the default behavior.
Only include tasks of finished processes. Value may only be true, as false is the default behavior.
Only include tasks of unfinished processes. Value may only be true, as false is the default behavior.
Restrict to tasks that are due on the given date. By default, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.
Restrict to tasks that are due before the given date. By default, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.
Restrict to tasks that are due after the given date. By default, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.
Only include tasks which have no due date. Value may only be true, as false is the default behavior.
Restrict to tasks that have a followUp date on the given date. By default, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.
Restrict to tasks that have a followUp date before the given date. By default, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.
Restrict to tasks that have a followUp date after the given date. By default, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.
Restrict to tasks that were started before the given date. By default, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.
Restrict to tasks that were started after the given date. By default, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.
Restrict to tasks that were finished before the given date. By default, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.
Restrict to tasks that were finished after the given date. By default, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.
Filter by a comma-separated list of tenant ids. A task instance must have one of the given tenant ids.
Only include historic task instances that belong to no tenant. Value may only be true, as false is the default behavior.
Only include tasks that have variables with certain values. Variable filtering expressions are comma-separated and are structured as follows:
A valid parameter value has the form key_operator_value. key is the variable name, operator is the comparison operator to be used and value the variable value. Note: Values are always treated as String objects on server side.
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.
key and value may not contain underscore or comma characters.
Only include tasks that belong to process instances that have variables with certain values. Variable filtering expressions are comma-separated and are structured as follows:
A valid parameter value has the form key_operator_value. key is the variable name, operator is the comparison operator to be used and value the variable value. Note: Values are always treated as String objects on server side.
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;
- notLike.
key and value may not contain underscore or comma characters.
Match the variable name provided in taskVariables and processVariables case- insensitively. If set to true variableName and variablename are treated as equal.
Match the variable value provided in taskVariables and processVariables case- insensitively. If set to true variableValue and variablevalue are treated as equal.
Restrict to tasks with a historic identity link to the given user.
Restrict to tasks with a historic identity link to the given group.
Restrict to tasks with a historic identity link to the given candidate user.
Restrict to tasks with a historic identity link to the given candidate group.
Only include tasks which have a candidate group. Value may only be true, as false is the default behavior.
Only include tasks which have no candidate group. Value may only be true, as false is the default behavior.
Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter.
Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter.
Pagination of results. Specifies the index of the first result to return.
Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left.
Response
Request successful.
Changes
No recorded changes to this operation across all 1 revision of this API.