All:
I’m trying the following code in the runStringTemplateOnPipe service -
<?xml version="1.0" encoding="UTF-8"?>
%loop categoryList%
<part_category name=‘%value categoryName%’> - (1)
%loop spareParts%
%value categoryName% - (2)
%value category% - (3)
%endloop%
</part_category>
%endloop%
The CategoryList is a documentList, with each document containng just a categoryName. The spareParts is a documentList, with each document containing (description, category, quantity).
I’m doing a loop within a loop. I’m getting the value successfully in step(1), but not in (2) and (3).
Can someone let me know what could be the reason for this,
Thanks.
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB