cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping node from a different subtree

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (0)