hi Franco80,
What I know is, when you pass a variable map to complete a task (Human Task)
your variable name must match the output variable name of the task.
If you want these variable to be recorded in VariableInstanceLog table, you have to set the mapping between the task output variable and the process variable.
Regards,
Thomas Setiabudi