i am using sub-process to impl a workflow and the sub-process is multi-instance. to complete a user task,i need a form to interact with assigneer, but form var is global,i want to set the var id like XXX-${loopCount},but it is not working. how to solve the problem?
That's indeed a problem that we need to solve better. Currently, you could try to use an execution listener on the seq flow out of the task that copies the value of the variable to the XX-${loopcounter}. But really we should have a mapping mechanism for that. It's on our todo list (but it's a long list), as we have felt the pain of this ourselves.