I have a scenario where input field ‘A’ has to be mapped to output field 'B’only if there is some value in A, otherwise if it is coming as a null value, it should not get mapped. I have a transformation to be made for the input field. so i took a transformer in the map step and mapped ‘A’ to transformer input and transformer output to output field ‘B’ for which allow null property is false. I put a copy condition like %A%==/[^ ]/ for the input mapping link, it is working fine as long as there is some value coming in ‘A’,
If there is nothing coming in A, then B is getting populated as null and it is failing since B doesn’t accept null value.
Could someone tell me how to fix this. Am I supposed to use Branch condition instead of copy condition. Please shed some light