skip record in for-each present in mapper
I have write adapter in which I have for-each loop for two levels(1. for-each of assignments, 1.a. for each of Global_Card_Components_State). The Global_Card_Components_State tag will be optional. Some assignments may contain it. I have included a choose condition (as in image). This is successful when Global_Card_Components_State tag is present but fails when input doesnt have that particular tag.
Is there any option to skip and process next record. <otherwise> doesnt help as i dont have sny option to map as its child.
I am getting below error when for-each encounters assignments tag without Global_Card_Components_State tag