Scenario:
- A task with a generated form
- The form has one form field that has a default value x
- The variable exists already in the process instance with value y
Action:
- I enter x in the form field and submit the form
Current behavior:
- Variable value x is not submitted with the form; the backend changes the variable value to the default value x
Expected behavior:
- Variable value x is submitted to avoid the backend overriding the variable value
—
What are the steps to reproduce your problem?
- Deploy attached example.bpmn
- Start a new process instance
- Complete the user task form with a value of 6
- Complete the new user task with the same value of 6
What is the problem?
The form payload is the correct one the first time ->
but empty the second one -> .
The result is that the variable value changes to its default one (2) -> .
What would be the expected behavior:
The form payload of the 2nd try is the same and the variable value is set to 6