Skip to Content
0
Jul 18, 2018 at 01:22 PM

Need Mapping Logic

54 Views Last edit Jul 18, 2018 at 01:24 PM 2 rev

Dear Experts,

i have a requirement where i am getting the different types of emails from SuccessFactors that needs to map to two different fields based on the condition.For example

input Xml

<email Information>

<email_Personalmail information>

santosh.vegi@gmail.com>

<email_type>P</email_type>

</email_Personalmail information>

<email_Businessmail information>

santosh.vegi@yash.com>

<email_type>B</email_type>

</email_Businessmail information>

</email information>

Output Xml

<Record>

santosh.vegi@gmail.com

santosh.vegi@yash.com

</Record>

i am getting the both personal and business mail for every employee. based on the email type i need to pass to the corresponding field in output xml. Please help me on the logic.

Regards

Giridhar Vegi