flowable / flowable/flowable-engine

The endpoint POST /runtime/tasks/{taskId} ignores the scope of the variables for the "complete" action

Offen
#1,345 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
9.5k
Forks
2.9k
Ø Merge
7 Std. 8 Min.
Gemergte PRs (30 T.)
2

Beschreibung

The [documentation of the endpoint](https://www.flowable.org/docs/userguide/index.html#_task_actions) indicates that this is the expected behaviour but it's a bit misleading that you are able to provide a scope that is going to be ignored.

Another benefit of changing the endpoint to make it work with the provided scopes is that the REST API user will be able to update variables and complete the task in a single request, that is, much more easy and convenient transactionality.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne am REST-Einstiegspunkt für POST /runtime/tasks/{taskId} und vergleiche seine vollständige Funktionalität mit der Endpoint-Dokumentation im verknüpften task-actions-Leitfaden. Verfolge, wie bereitgestellte Variablenbereiche behandelt werden, und überprüfe anschließend, dass Variablen mit Scope aktualisiert werden können, während die Aufgabe in derselben Anfrage abgeschlossen wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
api, backend
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.