Insert X bundles into X newly created business cases


I am working on a scenario that will divide products in our business cases (in raynet CRM) based on supplier. Then it will create new business cases for each supplier in the original business case and add products of said supplier into the new bc. Based on the number of suppliers the number of new bc is varying. I’ve found a solution to the business case divison but I can’t seem to find out how to add the filtered products into the bc.


Basically I need the products with ID values from the two output collections in my aggregator to be inserted into the business cases with ID values from the output of my raynet crm module. The data is already filtered by Key (values: Lucis and YourDesign), so I just need to map it somehow but I am not sure how to do it and need help.

I’ll be grateful for any ideas.

Thank you.