cancel
Showing results for 
Search instead for 
Did you mean: 

How to Concatenate the strings using Userdifined function.

Former Member
0 Kudos

HI Experts,

I have one specific reuirement in string concatenate based on the validation, is there any way to do it.

<child>

<app_cust_id app_id="abc">300100018738132</app_cust_id>

<app_cust_id app_id="abc">175794559</app_cust_id>

</child>

<child child_cust_id="31114201" master="true">

<app_cust_id app_id="abc">31913544</app_cust_id>

</child>

<child child_cust_id="9237829" master="true">

<app_cust_id app_id="abc">1522471446</app_cust_id>

</child>

<child child_cust_id="1549161" master="true"/>

<app_cust_id app_id="abc">1522471446</app_cust_id>

Output: 300100018738132:175794559:31913544:1522471446:1522471446

If app_id = abc in all the app_cust_id, i need to concatenate the values with delimiter as ':' and map to target string. I am new to XI development, i think we are not able to achive this funcationality using the concatenate function. If it possible please explain me how I can do it.

Regards,

Srini

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member614185
Contributor
0 Kudos

Standard functions are there. you can make use of it.

Use node functions to split your datas and check ur conditions using boolean function.

If your Condtions is true use constant and concat usint text function.

Former Member
0 Kudos

Hi,

Check this Direct Mappin Link

http://img149.imageshack.us/img149/6379/mappxz1.jpg

Use the Logic mentioned in this

Regards

Seshagiri

Former Member
0 Kudos

Thanks for the updation. But using the logic you provided i can able to get only one field in the target, and i need to get all the Child application id need to be concatenate and assign to target field.

Regards,

Srini