I have an array of strings which will contain ‘reference numbers’ e.g “4343”,“5454”,“6566”. I’ve got a flow going where it will get the length of this array (3 in this example) and a counter going. In a flow decision if the Counter < Array Length it will loop back around and the plan is to work the next reference number.
The problem I have is, the component that does the work, I want to pass a reference number in each time. I have an in argument called ‘in_strReference’. What code do I write in that argument so it picks up the next reference number from the array? So it’ll work ref number ‘4343’ then ‘5454’ etc
How about to change FlowDecision condition from “Counter < Array Length” to “Counter < Array Length-1”? Probably it prevents exception but I’m not sure if it is right from the view point of business logic.