cancel
Showing results for 
Search instead for 
Did you mean: 

getting loop index

Former Member
0 Kudos

Hi All,

In a source node I am having a field and that node is having

several instances.

While mapping I need to get the first occurance of the node

value to be mapped in a target field and all the next occurance

to some other target field.

Is there any standard function available through which I can get

the current loop index so that i can process it accordingly.

Or how can do it in mapping ??

any input is appreciated.

rgds,

RM

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

Try this:

counter     
                   - = - if - Your target node 1
constant(1) /
                        /
Your source node  

counter     
                   - = - if - Your target node 1
constant(2) /
                        /
Your source node  

Stefan.