flowable / flowable/flowable-engine
Make Task REST API respect ignoreAssigneeValue parameter
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 7h 8m
- Merged PRs (30d)
- 2
Description
[PR 580](https://github.com/flowable/flowable-engine/pull/580) introduced the parameter `ignoreAssigneeValue` to the `TaskInfoQuery` interface. This parameter is not available in the Task REST API, though. The parameter is supposed to allow querying for user tasks by candidate group(s) and get both assigned and unassigned tasks, but the queries
```
GET localhost:8080/process-api/runtime/tasks?candidateGroups=group1,group2&ignoreAssigneeValue=true
POST localhost:8080/process-api/query/tasks
{
"candidateGroupIn": ["group1", "group2"],
"ignoreAssigneeValue": true
}
```
only return tasks without an assignee (querying by `candidateGroup`/`candidateGroups`/`candidateGroupIn` implicitly adds `assignee === null` to the underlying query).
More information about my feature request: https://forum.flowable.org/t/how-does-ignoreassigneevalue-work/5464
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.