Originally posted by: Karthik12r
Hello,
I need help/suggestion with one of my requirements in WTX. Below is my input tree,
Row(S)
BatchID
BatchX
BatchY
InstructionID
InstructionX
InstructionY
TransactionID
trsansactionX
TransactionY
My output tree has multiple levels - Batch , Instruction, Transaction as below XML,
Batch1
Instruction1
Transaction1
Transaction2
Instruction2
Transaction3
Batch2
Instruction1
Transaction4
To achieve this, am trying to use UNIQUE() to extract Batch records, and pass it to functional map, and then soon. But I am not getting the expected output. I get more Instruction tags than i should get under a batch.
Can anyone please suggest the best way to accomplish this.
Thanks
karthik
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange