I'm trying to create a task with a colection for multi insance approvals over some groups. It's an readonly list, so it makes more sense to write it directly on the bpmn xml. I tryed this:
<userTask id="aprovarPCMC" name="Aprovar Plano de Curso e Matriz Curricular" activiti:candidateGroups="#{group}">
<multiInstanceLoopCharacteristics isSequential="true"
activiti:collection="${java.util.Arrays.asList("NDE","direcao")}"
activiti:elementVariable="group">
</multiInstanceLoopCharacteristics>
Where the expression would resolve to:
Arrays.asList("NDE","direcao")
But it gives me an error that says "java could not be resolved".The User Guide only has examples for getting the list from variable or service. I want it on the xml.Is it possible ?