cancel
Showing results for 
Search instead for 
Did you mean: 

Help on multiple if-else

Former Member
0 Kudos

Hi

Pleae solve this scenario,

if name !=  ' '

     id=name (id is target node)

else if id  !=  ' '

     id=id

else

     id=dob

the mapping what I've done is in( mm1.png)

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member191435
Contributor
0 Kudos

Hi Abhinaya,

Please use this mapping

consider field3 as name field5 as id and field4 as dob

NOTE:

This mapping is works when your are nothing is given in test tab...

generally if field3 value is not coming in the payload then remove field3 in test tab then use your mapping it will work.. ok

Thanks,

Sreenivas

Former Member
0 Kudos

It's working fine!! thanks a lot.

I've a quest y my mapping dint work? Oly name part was working there.

former_member191435
Contributor
0 Kudos

that is what I am saying...

in test tab of message mapping  you are giving like this...

consider field3 as name...

But if you try like this your mapping will work.

Thanks,

Sreenivas

Answers (1)

Answers (1)

azharshaikh
Active Contributor
0 Kudos

Hi Abinaya,

Your MM looks fine...are you getting any error ? Please elaborate and give your Source / Target Structure and Display Queue screenshot from MM.

Regards,

Azhar