| PeterW 2005-08-25, 7:48 am |
| After playing around with this I came to the conclusion that we have some
issues with understanding semantics. Usual story of roadmaps being suited to
those who already know where they are going whereas their focus should be on
informing the uninformed. Not enough information!
When in your documentation you say that the iteration functoid returns the
index of the looping structure, I presume you mean the loop shape in an
orchestration.
So what I have done is connect a repeating record in the source schema to an
iteration functoid. Then use index functoids for connecting each of the
source record individual fields to index functoids, then connecting the
single iteration shape to all the index functoids, and then connecting them
up to the respective destination fields.
When testing the map it now returns the first repeating record as the output
correctly as if the index were 1.
So now we take this to the loop shape in an orchestration and see if it
returns the correct output at each point in the loop.
Here's hoping! If anyone has any experience on this I would really like
some confirmation some feedback. Posting back to myself doesn't do it for me
but maybe it will strike a cord with others in the same sort of situation
searching for answers.
cheers.
--
PeterW
"PeterW" wrote:
> Is there any way that I can set parameter 2 of a series of Index functoids
> dynamically.
>
> I need to access a value from an item in a Record from within a loop, and
> use this to call a WebService WebMethod and do some processing before
> proceeding to the next item in the loop.
>
> I have a map containing index functoids that will return an item by its
> index but only as a constant. How can I do this as a variable?
>
> Any help would be appreciated.
>
> cheers
> --
> PeterW
|