Demonstration using complex objects as process variables in combination with multi instance sub process in Camunda
Recommendation is to use JSON to serialize complex objects. More info here
- start project by executing spring-boot:run
- login the tasklist
- start Car Type process
- navigate to the cockpit
- look for the started process instance and drilldown to the waiting user task
- copy user task id and use postman collection to POST JSON collection with cars
- The console should now print car name and car types for all cars present in the collection.
Output should be:
printing car name:
VW
printing car type:
Golf
printing car name:
Seat
printing car type:
Ibiza