Hi Gurus,
In a transformation, I need to check the condition on some 8-10 nodes and then concat them and map it to a target node. the target node should have the concated value of all the 8-10 source nodes.
For example:
Source Nodes:
<firstName>abc</firstname>
<secondName>efg</secondName>
<lastName>hij</lastName>
<countryCode>+91</countryCode>
<areaCode>1111</areaCode>
<phone>123456789</phone>
<pincode>456789<pincode>
Conditions to check
if firstname != xyz and second name != fff
then
concat(firstname and secondname)
if second name != fff and lastname != eee
then concat(firstname and secondname and lastname)
if countrycode != +92
then countrycode = +91
Target Node:
the target node is only one and it should contain
<info>abcefghij - +91 - 1111123456789 - 456789 </info>
The above conditions have to be verified and then the mapping has to be done after concatenating of the source nodes.
Kindly help, help is greatly appreciated.
Thanks & Regards,
Venky.