flowable-engine
flowable-engine copied to clipboard
"Update variable" feature in flowable-admin doesn't work if value is null
Describe the bug In the flowable-admin app:
- Go to "Process Engine" > "Instances"
- Select an active instance (in the runtime)
- Go to the "Variables" tab in the bottom
- Click "Add variable", select type string but leave the value field empty. This will create a variable with type "null" and the value column is empty:
- Select the variable line
- Click "Update variable"
- Enter a value
- Click the "Update" button.
The value (and type) doesn't change. Probably because of the type set to null even though it was first selected as "string". It is however possible to change the value through the update variable REST API.
Expected behavior The value should update. Maybe in case of a current type/value "null", the type select field should also be displayed in the "Update variable" form first as it is in the "Add variable" form.
Code n/a
Additional context Tested in Flowable v6.7.2 and v6.5.0