Collections as process variables and iteration inside embedded forms

Suprisingly there is not a single word about collections in the documentation [1]? However, using the JSON serialization of the Camunda Spin Plugin I was able to set an ArrayList of Pojos as a process variable. But the next step seems to be more tricky.

What is the recommended way to iterate a collection inside embedded forms? Is there any scope variable which one could use for ng-repeat for example? Does the directive ‘cam-variable-name’ has an isolated scope and is capable of iteration?

[1] https://docs.camunda.org/manual/7.5/user-guide/process-engine/variables/#supported-variable-values

Hi,

there is an example that shows how to work with serialized Java objects in embedded forms (including iteration). There is also some documentation about how to work with serialized Java Objects, but that does not include interation explicitely.

Cheers
Sebastian

1 Like

The example is brilliant!

Thanks!