I created a human task with it’s own custom form, and I was able to load my JSON objects just fine. I was able to create a local variable for my task using a task listener, but the variables that I create in the form go into the process scope. It also works if I put a variable in the input parameters as well.
However, I was wondering if there a way I can create variables explicitly in the task scope and pass the ones I need to the process instance via output parameters?
It looks like the camForm.variableManager fetches variables from both the process and task level scope.