Multi instances and complex data types

As there is a task where multiple instances need to be created, such as an order with multiple products, I wanted to ask if this is possible with complex data types, similar to XML. Unfortunately, I didn’t find such a case in the Academy videos and documentation.

Yes, you just pass in an array. Variables in Zeebe are serialised (stringified) JSON.

Can you give me an example so that I can understand better?