Skip to Content
author's profile photo Former Member
Former Member

Mapping : IF...then


How to make us of 'if else' conditions in graphical mapping. I need to map a field only if it satisfies a condtion....say the target field 'F1' should be mapped only when the source field 'S1' equals 'F'.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 23, 2006 at 10:50 AM

    Hi Shruthi,

    You can use "Equals" function comes under "Text" section.

    Equals takes in 2 inputs, first you can give the source filed and the second field as constant "F". ZGive the output of Equals to IF, Then Source field.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Prabhu S


      As praskash said you got to link the 'Equals' condition to the 'If' and the source field to the 'Then'. When you test the mapping give the value which will satisfy the if condition or the target xml will not be generated.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.