List of tasks
For all 'Like' parameters the '%' wildcard character must be URL-encoded as '%25' (for example '?nameLike=acme%25' to match names starting with 'acme').
Request
- Base URLhttps://developer-docs.flowable.com/cmmn-api
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Only return tasks with the given id.
Only return tasks with the given name.
Only return tasks with a name like the given name.
Only return tasks with a name like the given name ignoring case.
Only return tasks with the given description.
Only return tasks with the given priority.
Only return tasks with a priority greater than the given value.
Only return tasks with a priority lower than the given value.
Only return tasks assigned to the given user.
Only return tasks assigned with an assignee like the given value.
Only return tasks owned by the given user.
Only return tasks assigned with an owner like the given value.
Only return tasks that are not assigned to anyone. If false is passed, the value is ignored.
Only return tasks that have the given delegation state. Possible values are pending and resolved.
Only return tasks that can be claimed by the given user. This includes both tasks where the user is an explicit candidate for and task that are claimable by a group that the user is a member of.
Only return tasks that can be claimed by a user in the given group.
Only return tasks that can be claimed by a user in the given groups. Values split by comma.
Only return tasks in which the given user is involved.
Only return tasks with the given task definition id.
Only return tasks with a given task definition id like the given value.
Only return tasks which are part of the case instance with the given id.
Only return tasks which are part of the case instance and its children with the given id.
Only return tasks which are part of a case instance which has a case definition with the given id.
Only return tasks which are part of a case instance which has a case definition with the given key.
Only return tasks which are part of a case instance which has a case definition with the given key like the passed parameter.
Only return tasks which are part of a case instance which has a case definition with the given key like the passed parameter.
Only return tasks which are associated with the a plan item instance with the given id
Only return tasks which have the given id as propagated stage instance id
Only return tasks which are part of the scope (e.g. case instance) with the given id.
Only return tasks which are part of the scope (e.g. case instance) with the given ids.
If true, only returns tasks without a scope id set. If false, the withoutScopeId parameter is ignored.
Only return tasks which are part of the sub scope (e.g. plan item instance) with the given id.
Only return tasks which are part of the scope type (e.g. bpmn, cmmn, etc).
Only return tasks which are created on the given date.
Only return tasks which are created before the given date.
Only return tasks which are created after the given date.
Only return tasks which are due on the given date.
Only return tasks which are due before the given date.
Only return tasks which are due after the given date.
Only return tasks which do not have a due date. The property is ignored if the value is false.
Only return tasks that are not a subtask of another task.
If true, only return tasks that are not suspended (either part of a process that is not suspended or not part of a process at all). If false, only tasks that are part of suspended process instances are returned.
Indication to include task local variables in the result.
Indication to include process variables in the result.
Only return tasks with the given tenantId.
Only return tasks with a tenantId like the given value.
If true, only returns tasks without a tenantId set. If false, the withoutTenantId parameter is ignored.
If true, only returns tasks without a process instance id set. If false, the withoutProcessInstanceId parameter is ignored.
Select tasks that has been claimed or assigned to user or waiting to claim by user (candidate user or groups).
Select tasks with the given category. Note that this is the task category, not the category of the process definition (namespace within the BPMN Xml).
Select tasks for the given categories. Note that this is the task category, not the category of the process definition (namespace within the BPMN Xml).
Select tasks which are not assigned to the given categories. Does not return tasks without categories. Note that this is the task category, not the category of the process definition (namespace within the BPMN Xml).
Select tasks without a category assigned. Note that this is the task category, not the category of the process definition (namespace within the BPMN Xml).
Only return tasks which have the given root scope id (that can be a process or case instance ID).
Only return tasks which have the given parent scope id (that can be a process or case instance ID).
Response
Indicates request was successful and the tasks are returned
Example response
{
"data": [
{
"id": "8",
"url": "http://localhost:8182/cmmn-runtime/tasks/8",
"owner": "owner",
"assignee": "kermit",
"delegationState": "pending",
"name": "My task",
"description": "Task description",
"createTime": "2013-04-17T10:17:43.902+0000",
"dueDate": "2013-04-17T10:17:43.902+0000",
"priority": 50,
"claimTime": "2018-04-17T10:17:43.902+0000",
"taskDefinitionKey": "theTask",
"scopeDefinitionId": "123",
"scopeId": "123",
"subScopeId": "123",
"scopeType": "cmmn",
"propagatedStageInstanceId": "123",
"tenantId": "null",
"category": "ExampleCategory",
"caseInstanceId": "5",
"caseInstanceUrl": "http://localhost:8182/cmmn-runtime/case-instances/5",
"caseDefinitionId": "oneTaskCase%3A1%3A4",
"caseDefinitionUrl": "http://localhost:8182/cmmn-runtime/case-definitions/oneTaskCase%3A1%3A4",
"parentTaskId": "null",
"parentTaskUrl": "null",
"executionId": "123",
"processInstanceId": "123",
"processDefinitionId": "123",
"variables": [
{
"name": "myVariable",
"type": "string",
"valueUrl": "http://...."
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.