Originally posted by: MUWB
The issue here is the number of desired request is not fixed, it can be 1, 2, 3 or more, depending on the original request. Also when you clone it, it is just repeating the original request, correct ? Going back to the repeating item in the request, we need to make 1 request for each repeating item which has a different value:
Original request:
<REQUEST>
<VERSION>1.0</VERSION>
<TIMESTAMP>2001-03-17-15:00:30PM</TIMESTAMP>
<ACTIONTIMESTAMP>2001-03-17-15:00:30PM</ACTIONTIMESTAMP>
<ACTIONREQUEST>SALESREPORT</ACTIONREQUEST>
<ACTIONTIMESTAMP>2001-03-17-15:00:30PM</ACTIONTIMESTAMP>
<ACTIONREQUEST>SALESDISCOUNTREPORT</ACTIONREQUEST>
</REQUEST>
Desired output:
<REQUEST>
<VERSION>1.0</VERSION>
<TIMESTAMP>2001-03-17-15:00:30PM</TIMESTAMP>
<ACTIONTIMESTAMP>2001-03-17-15:00:30PM</ACTIONTIMESTAMP>
<ACTIONREQUEST*>SALESREPORT</ACTIONREQUEST>
</REQUEST>
<REQUEST>
<VERSION>1.0</VERSION>
<TIMESTAMP>2001-03-17-15:00:30PM</TIMESTAMP>
<ACTIONTIMESTAMP>2001-03-17-15:00:30PM</ACTIONTIMESTAMP>
<ACTIONREQUEST>SALESDISCOUNTREPORT</ACTIONREQUEST>
</REQUEST>
Also, regarding your solution group (s)= Clone(request, 3), where do I put this, in the output typetree, or in the outputcard ? I will try that solution as well for now. Thanks.
#DataExchange#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender