Sahil
5 years agoContributor
Create xml segment only if condition is met
Hi,
I am trying to convert xm1 into xml2.
In order to that I have used XML Parser, Mapper,XML Formatter.
There is one logic, I need to create a segment only if value of a particular repeatable segment is either
jsonPath($, “$Z_RDGD102.IDOC.DKA1[].PAR") is equal to ‘AF’ or ‘AG’ or ‘PC’.
And part of output segment is like below:-
jsonPath($, "$Order.Data.Addresses[].Address[*]”)
How do I achieve it, please let me know.