IBM Integration Community Come for answers. Stay for best practices. All we’re missing is you. Join / Log in Ask a question
I'm trying to concatenate a certain string with some values on each iteration of a for each loop.
My attempt is setup like this:
At the end of the flow, my string is always equal to the initial value I put for the string. I also tried changing my second set variable to change it to "testing123", which helped me understand that this connector is not doing anything at all (commitString was still the initial value)
With the help of some logging connectors, I have verified that my for each loop does have iterations (4 of them) and that their commit message is gathered correctly.
So finally, my question, does anyone know how I can fix this issue or how to do it?
fyi, I know the usecase for this is confusing, I'm just testing the software out so it's not an actual usecase.
I'll attach some pictures of my initial setup attempt for information:
Sorry for the delay in answering your query.
For your use case, you need to use the output part of the for each node that acts as an accumulator for data from each iterand.
So iterating on github commits, I added an element to the output that stores the message of each commit