flowable / flowable/flowable-engine
The endpoint POST /runtime/tasks/{taskId} ignores the scope of the variables for the "complete" action
- Lingua principale
- Java
- Stelle
- 9.5k
- Fork
- 2.9k
- Merge medio
- 7h 8m
- PR unite (30g)
- 2
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia dal punto di ingresso REST per POST /runtime/tasks/{taskId} e confronta la sua azione completa con la documentazione dell’endpoint nella guida task-actions collegata. Traccia il modo in cui vengono gestiti gli scope delle variabili forniti, quindi verifica che le variabili con scope possano essere aggiornate mentre l’attività viene completata nella stessa richiesta.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- api, backend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100