flowable / flowable/flowable-engine
Make Task REST API respect ignoreAssigneeValue parameter
- Vorherrschende Sprache
- Java
- Sterne
- 9.5k
- Forks
- 2.9k
- Ø Merge
- 7 Std. 8 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
[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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne mit TaskInfoQuery und den in der Issue beschriebenen REST-Endpunkten für Laufzeitaufgaben und Abfrageaufgaben und verfolge dann, wie candidateGroup, candidateGroups und candidateGroupIn in die zugrunde liegende Abfrage übernommen werden. Als abgeschlossen gilt die Aufgabe, wenn sowohl GET- als auch POST-Beispiele ignoreAssigneeValue=true berücksichtigen und zugewiesene und nicht zugewiesene Candidate-Group-Aufgaben zurückgeben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- api, backend
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100