Skip to Content
avatar image
Former Member

Mapping node from a different subtree

Hi Experts,

I am doing a mapping where the source structure contains two segments LINE and VAT. Under LINE, I have a field called ABC. Also under VAT, I have a field called ABC. What I want to do is, if ABC under LINE is blank then I want to populate the value of ABC under VAT. Any idea how to go about this?

Thanks,

Dhawal

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Mar 29, 2010 at 12:14 PM

    Use ifWithElse & exist function.

    check if ABC from line exists then map it to traget else map ABC of VAT to target.

    oR just use the equalS & NOT function instead of exist function and then check if LINE (ABC) not equalS Blank (empty constant) then map ABC of Line into target else map ABC of VAT to target.

    Add comment
    10|10000 characters needed characters exceeded