Hi Ramesh,
Use below mapping after remove contexts in your mapping logic.
REC_TYPE equals to EMPLOYEE --->removeContexts--->UDF--->employees(Node)
UDF:
Execution Type: All Values Of Context.
public void mapEmployeeNode(String[] input, ResultList result, Container container) throws StreamTransformationException { for (int i = 0; i < input.length; i++) { if (input[i].equals("false")) { if (i != 0) result.addContextChange(); } else result.addValue(""); } }Regards,
Praveen.
