I am following the directions to map a collection to a document. I hold the contol key while dragging the source node of the collection to the destination node. When I try to map the individual fields, I get the message:
"The source element xxx which belong to a collection yyy, has been mapped to element zzz, which does not belong to a collection. You either need to specify a particular collection item, or invoke a 'collection to collection' or 'collection to document' mapping"
I thought I had already invoked the collection to document mapping when I mapped the source node while holding down the ctrl key. When I run the scenario, the scenarios reads all of the records in the collection (~3200) but only generated one document.
I could always use a script (Pif function calls) to calculate the number of elements on the collection, then use a loop to process each element, but there should be an easier way.
Any suggestions would be greatly appreciated.


Reply With Quote
Bookmarks