Get List Count (POST)
Queries for the number of external tasks that fulfill given parameters. This method takes the same message body as the Get External Tasks (POST) method.
Request
- Base URL: http://localhost:8080/engine-rest
- URL: http://localhost:8080/engine-rest/external-task/count
- Auth: HTTP basic
Request body
Filter by an external task's id.
Filter by the comma-separated list of external task ids.
Filter by an external task topic.
Filter by the id of the worker that the task was most recently locked by.
Only include external tasks that are currently locked (i.e., they have a lock time and it has not expired). Value may only be true, as false matches any external task.
Only include external tasks that are currently not locked (i.e., they have no lock or it has expired). Value may only be true, as false matches any external task.
Only include external tasks that have a positive (> 0) number of retries (or null). Value may only be true, as false matches any external task.
Only include external tasks that have 0 retries. Value may only be true, as false matches any external task.
Restrict to external tasks that have a lock that expires after a 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 external tasks that have a lock that expires before a 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 the id of the activity that an external task is created for.
Filter by the comma-separated list of ids of the activities that an external task is created for.
Filter by the id of the execution that an external task belongs to.
Filter by the id of the process instance that an external task belongs to.
Filter by a comma-separated list of process instance ids that an external task may belong to.
Filter by the id of the process definition that an external task belongs to.
Filter by a comma-separated list of tenant ids. An external task must have one of the given tenant ids.
Only include active tasks. Value may only be true, as false matches any external task.
Only include suspended tasks. Value may only be true, as false matches any external task.
Only include jobs with a priority higher than or equal to the given value. Value must be a valid long value.
Only include jobs with a priority lower than or equal to the given value. Value must be a valid long value.
Restrict to tasks that belong to a process definition with the given key.
Restrict to tasks that belong to a process definition with one of the given keys. The keys need to be in a comma-separated list.
Restrict to tasks that belong to a process definition with the given name.
Restrict to tasks that have a process definition name that has the parameter value as a substring.
Match all variable names in this query case-insensitively. If set variableName and variablename are treated as equal.
Match all variable values in this query case-insensitively. If set variableValue and variablevalue are treated as equal.
Response
Request successful.
The number of matching instances.
Changes
No recorded changes to this operation across all 1 revision of this API.