I managed to import the data with Parent-Child relations (below you can see that I have several pipelines for different types of items - red for parent; green for subfolder; blue for children). However, I need to have children of different templates under the parent (Folder Assets on the image below).
I thought that I can try to extend the second Pipeline like below:
2.Resolve Product Model
4.Update Sitecore Item
5.Get Product Folders
6.Iterate Product Folders
7.Get Asset Folders (use another property of a parent object)
8.Iterate Asset Folders (pointer to a new pipeline which will handle Assets)
However, this solution doesn't work (it seems that If we changed the context to a child pipeline in step 6 then we can't go back to step 7). Do you have any suggestions how to setup the pipeline batch to reach the goal?
Thank you in advance for the help.