mapping resultset

How to read data using db connector into business variable?

I would like to read data from an external MS SQL database using a connector and map the result into a business variable.

I have created a new Business Object called 'MyObject' with attributes 'ID' (integer) and 'Status' (String).
Then I created a Pool Business variable called 'loadedMyObjects' of type 'MyObject' and I set the flag 'IsMultiple' as true so it should be a collection of 'MyObject' instances.

My workflow diagram consists of a Start event connected to a Service Task and finally an End event.

Notifications