cancel
Showing results for 
Search instead for 
Did you mean: 

Message Mapping

Former Member
0 Kudos

Hi Gurus,

See my map in http://www.flickr.com/photos/35060033@N08/4115826210/

i must check for condition '99999' or blank ' ',In my mapping i used only '99999'.

if i use 'OR' boolean condition it is throwing an error,how can i add one more OR condition to my mapping.

appreciate your help...

Thanks

Srinivas

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks for your help

former_member200962
Active Contributor
0 Kudos

COuld not check your mapping as the link is blocked in my org.

If OR is giving an error then it means that the input to OR is not proper.

Try below logic for checking if it is 99999 OR blank (by blank i assume that only the node is generated however it does not conatin any value like <Name></Name>

SourceField-->
                    -->equalS -->
Constant(99999)-->
                                                                          --> OR -->  ifWithoutElse(Then --> Map the relevant source node/ logic)
SourceField-->
                                                      --->equalS -->
Constant(keep it blank...no valueto be filled)-->

If you want ot execute any ELSE logic then use ifWithElse block

If the source nodes are repeating then you may need to handle the context changes properly to get the desired output

Regards,

Abhishek.

Former Member
0 Kudos

Srinivas,

if i use 'OR' boolean condition it is throwing an error,how can i add one more OR condition to my mapping.

After "FormatByExample" step, write a simple UDF. You can definitely achieve this using standard functions, but your mapping will be a lot simpler if you use the UDF.

Regards,

Neetesh

Former Member
0 Kudos

What error it is throwing?

Please give little more information.

Thanks,

Hetal