cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping to new node with each loop

Former Member
0 Kudos

Does anyone know how to add a new node to a message each time through a loop (in a BPM) like this....

Source message before the first mapping iteration

<source>

<data>first occurence</data

</source>

Target message after the first mapping iteration

<target>

<record>

<data>first occurence</data>

</record/

</target>

Source message before the second mapping iteration

<source>

<data>second occurence</data

</source>

Target message after the second mapping iteration

<target>

<record>

<data>first occurence</data>

</record/

<record>

<data>second occurence</data>

</record/

</target>

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Mapping is based on he data passed. i.e. if the occurance of the Mapping fields is 0...unbounded. Then you can have multiple nodes.

But if you will be looking as 1st instance of mapping will create one node and then another instance will increment the nodes. Then I doubt this could be directly possible.

Thanks

swarup

Former Member
0 Kudos

The node obviously needs to be unbounded, and the message mapping needs to be an N:1. But, yes, that's what I'm trying to do......add a new node each time through .