cancel
Showing results for 
Search instead for 
Did you mean: 

CPI Mapping condition issue

das_sappo
Participant
0 Kudos

Hi Experts,

I need to implement a mapping condition in CPI but unable to populate the data in target as per the requirement..

Scenario 1

If <S_LT> and <S_TM> contains same number of segments in a context then copy <D_373>  to target field.

Which is working fine.

das_sappo_0-1713967006212.png

 

Scenario 2

If <S_TM> comes only once in a context and <S_LT> comes more than once, then copy <D_373> to target as many as the occurrences of <S_LT>

das_sappo_1-1713967222710.png

 

 

View Entire Topic
ag3silaus
Participant
0 Kudos

Hello @das_sappo ,

you can achieve this with useasmany function from node functions. 

You can find in the next ss the usage of useasmany.

ag3silaus_1-1714047765007.png

This is also output from simulate.

 

ag3silaus_0-1714047698467.png

I hope this is whats you looking for. 

Best Regards,

Burak