flowable / flowable/flowable-engine

Forms REST API missing Form Instance Update

Offen
#2,101 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

**Describe the bug**
The POST body to `/form-api/form/form-instances` accepts a formInstanceId, but it is not used. The Forms Java API provides provides both `createFormInstance` and `saveFormInstance` methods, but the REST API only uses the `createFormInstance` methods.

**Expected behavior**
Standard REST practice would be to have PUT endpoint to update an existing FormInstance, but overloading the POST to save instead of creating when a formInstanceId is possible.

**Additional context**
The Task app uses the `saveFormInstance` when updating a task with a form, implying that updating existing is the expected behavior.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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