Integration

Get Involved. Join the Conversation.

Topic

    Abhinav Kumar
    Multiple Condition in mapping in AICAnswered
    Topic posted November 13, 2019 by Abhinav KumarRed Ribbon: 250+ Points, tagged Integration, Mapping, Orchestration 
    23 Views, 3 Comments
    Title:
    Multiple Condition in mapping in AIC
    Content:

    I want to add multiple condition in a mapping. Is this possible in AIC. If yes, then how?

    this is the sample condition I have to include in the mapping

    If A!=B or C!=' '

    then C=X

    Best Comment

    Hemanth Lakkaraju

    Here are the steps! 

    • Double click the element on which you want to add the condition - This will take you to mapper expression builder window.
    • Right Click on the element and say Insert Parent
    • Drag and drop XSL IF construct on parent row.
    • Drag and drop OR construct on the select attribute row.
    • Drag and drop != construct on both left/right operands of OR condition.
    • Drag and drop required elements on respective operands of !=
    • Save the expression and you are good to go!

    Comment

     

    • Ankur Jain

      Hi Abhinav,

      You can do this for sure. Export the integration, find the associated .xslt for the mapper, include choose where ever required and upload back into OIC.

      Regards,

      Ankur

    • Hemanth Lakkaraju

      Here are the steps! 

      • Double click the element on which you want to add the condition - This will take you to mapper expression builder window.
      • Right Click on the element and say Insert Parent
      • Drag and drop XSL IF construct on parent row.
      • Drag and drop OR construct on the select attribute row.
      • Drag and drop != construct on both left/right operands of OR condition.
      • Drag and drop required elements on respective operands of !=
      • Save the expression and you are good to go!