Creating subprocess variable from embedded form

We have a process that starts multiple parallel embedded subprocesses. Each subprocess contains a usertask collecting complex information that is used in a subsequent tasks in the subprocess.

If we save the information from the user task in new variable calling camForm.variableManager.createVariable(), the variable is created in the process scope, potentially overwriting information saved from a different subprocess instance.

Is there a way in a cam-script to create a variable within the subprocess scope?