CallActivity loop on Collection: Expression didn't resolve to type 'Collection'

@valiu take a look at the JSON Spin API Reading JSON | docs.camunda.org. You need to return a collection from the SPIN json.

myJsonVar.elements() would return the collection rather than the SPIN object.

see the following for more detailed explanation:

@MichiDahm When it was stored as type json, its a java object its just not a “collection”, so they have to use the .elements() methods on the JSON SPIN object as per above.

1 Like