Hi,
I use default TaskController for submitting parameters collected on task form. I do not know how I was missing this issue all this time, but it just happened :)
so this line in mentioned class caused me headache + couple of hours:
if (value!=null) { log.debug("submitting task variable '"+mappedName+"' to process variable '"+variableName+"', value '"+value+"'"); contextInstance.setVariable(variableName, value, token); }
When the user ends the task, the task controller is responsible for updating the process variables based on the task instance data.
That's why I use booleanconverters in JSF and put true/false in there. Works for me...