In response to Ray’s suggestion, if I use a 0 it works fine. However, that doesn’t do what i need.
Actually, i am attempting to take a recordset that looks like this:
EFOLDER EDOC QE(QualityException)
1 1 1
1 1 2
1 2 3
2 3 4
2 3 5
3 4 6
And turn it into a document like this (for use in a report):
EFOLDER[0]
–ID: 1
–EDOC[0]
----ID:1
----QE[0]
------ID:1
----QE[1]
------ID:2
–EDOC[1]
----ID:2
----QE[0]
------ID:3
EFOLDER[1]
–ID:2
–EDOC[0]
----ID:3
----QE[0]
------ID:4
----QE[1]
------ID:5
EFOLDER[2]
–ID:3
–EDOC[2]
----ID:4
----QE[0]
------ID:6
To do this, i was using the db output as the in-array and no out array (since the output is in more of an “xml-like” format, with nested attributes). Once again, if i use hard-coded numbers as the indexes, it works. However, of course, I need these indexes to change. I was using “efolder iteration” and “edocument iteration” to keep track of where i was on those fronts, and as these values changed in the original loop, i know to add a new element to the final document. Here is a screen shot of what i am doing:
I am using wM 6.01 and i read both of those threads.
thanks
russ
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB